Browse Source

Update index.tsx

lex 2 years ago
parent
commit
4633a1f990
1 changed files with 3 additions and 1 deletions
  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',