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