Просмотр исходного кода

Merge branch 'dev_0824_mobile_modify' into dev_1.1.7_test

nieyuge 2 лет назад
Родитель
Сommit
569a8c5036
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)
         }
     }
 }