Browse Source

Update index.tsx

lex 2 năm trước cách đây
mục cha
commit
4633a1f990
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      src/components/col-share/index.tsx

+ 3 - 1
src/components/col-share/index.tsx

@@ -96,8 +96,10 @@ export default defineComponent({
           this.image = url
 
           const image = this.image
-          if (image) {
+          setTimeout(() => {
             this.shareLoading = false
+          }, 100)
+          if (image) {
             postMessage(
               {
                 api: 'shareAchievements',