wangxy hace 3 meses
padre
commit
86e08214ac
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  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
-      })
+      })}
     })
 	}