Browse Source

修改返回

wangxy 18 hours ago
parent
commit
86e08214ac
1 changed files with 3 additions and 2 deletions
  1. 3 2
      components/sharePopUp/index.vue

+ 3 - 2
components/sharePopUp/index.vue

@@ -129,13 +129,14 @@
         }
         console.log('分享配置:', shareConfig)
         uni.share(shareConfig)
-      }}).fail(() => {
+      },
+      fail:() => {
       // 其他错误
       uni.showToast({
         title: '海报分享失败,请检测网络状态',
         icon: 'none',
         duration: 3000
-      })
+      })}
     })
 	}