浏览代码

Update index.tsx

lex 2 年之前
父节点
当前提交
4633a1f990
共有 1 个文件被更改,包括 3 次插入1 次删除
  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
           this.image = url
 
 
           const image = this.image
           const image = this.image
-          if (image) {
+          setTimeout(() => {
             this.shareLoading = false
             this.shareLoading = false
+          }, 100)
+          if (image) {
             postMessage(
             postMessage(
               {
               {
                 api: 'shareAchievements',
                 api: 'shareAchievements',