nieyuge преди 2 години
родител
ревизия
cf50296c41
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3 1
      components/MobileGuidePage.vue

+ 3 - 1
components/MobileGuidePage.vue

@@ -171,7 +171,9 @@ export default {
             })
 
             // jump
-            window.location.href = `https://twitter.com/intent/retweet?tweet_id=${this.detail.repostSrcContentId || this.detail.srcContentId}`;
+            setTimeout(() => {
+                window.location.href = `https://twitter.com/intent/retweet?tweet_id=${this.detail.repostSrcContentId || this.detail.srcContentId}`;
+            }, 300)
         }
     }
 }