nieyuge 2 år sedan
förälder
incheckning
34e6cff9fe
2 ändrade filer med 4 tillägg och 4 borttagningar
  1. 3 3
      src/logic/content/nft.js
  2. 1 1
      src/logic/content/twitter.js

+ 3 - 3
src/logic/content/nft.js

@@ -93,7 +93,7 @@ export const clearPostContent = (fn) => {
             if (inputEle) {
                 inputEle.focus();
             }
-        }, 100).then(() => {
+        }, 20).then(() => {
             document.execCommand('selectAll');
             document.execCommand('delete');
             clearPostContent(fn)
@@ -129,7 +129,7 @@ export const setNFTGroupContent = (res) => {
         setPostContent(res)
         nextTick(() => {
             _addTweetButtonListen()
-        }, 200)
+        }, 100)
         
     } else {
         clearPostContent(() => {
@@ -140,7 +140,7 @@ export const setNFTGroupContent = (res) => {
             setPostContent(res)
             nextTick(() => {
                 _addTweetButtonListen()
-            }, 200)
+            }, 100)
         })
     }
 }

+ 1 - 1
src/logic/content/twitter.js

@@ -780,10 +780,10 @@ function initParseCard() {
                     onChangePageMain(inTwitterNode)
                     changeQueueNum(1)
                 }
+                showNFTGroupIcon()
                 if (queue_num <= 0) {
                     return
                 }
-                showNFTGroupIcon()
                 setIframeRedPacket()
                 checkHasDeBtn()
                 checkHasSliderDeBtn();