浏览代码

[fix] bug

wenliming 2 年之前
父节点
当前提交
a3bc3b2a90
共有 1 个文件被更改,包括 3 次插入1 次删除
  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 = '';
   }
 };