Bladeren bron

[fix] bug

wenliming 2 jaren geleden
bovenliggende
commit
a3bc3b2a90
1 gewijzigde bestanden met toevoegingen van 3 en 1 verwijderingen
  1. 3 1
      src/view/popup/currency-detail.vue

+ 3 - 1
src/view/popup/currency-detail.vue

@@ -198,10 +198,12 @@ const showSendGiveawayDialog = (params = null) => {
   } else {
       let currencyInfo = params ? params : currencyInfo.value;
       setLocalSelectCurrencyInfo(currencyInfo)
-      chrome.runtime.sendMessage({ 
+      setTimeout(() => {
+        chrome.runtime.sendMessage({ 
           actionType: "POPUP_SHOW_DENET_PUBLISH_DIALOG", 
           data: { } 
       }, () => { });
+      }, 600)
       currencyOpertionType = '';
   }
 };