This commit is contained in:
yanran200730
2023-03-31 17:32:21 +08:00
parent 990e2f0ff4
commit c8981d640f

View File

@@ -163,7 +163,7 @@ export default {
} }
if (data.tapIndex === 0 || data.tapIndex === 1) { if (data.tapIndex === 0 || data.tapIndex === 1) {
if (data.tapIndex === 0) { if (data.tapIndex === 0) {
this.wxInvoke(['shareAppMessage', { this.wx.invoke(['shareAppMessage', {
title: this.info.title, title: this.info.title,
desc: this.info.tableExplain, desc: this.info.tableExplain,
link: this.linkUrl, link: this.linkUrl,
@@ -171,11 +171,9 @@ export default {
}, e => { }, e => {
console.log(e) console.log(e)
this.isShow = false this.isShow = false
}]).then(e => { }])
console.log(e)
})
} else { } else {
this.wxInvoke(['shareWechatMessage', { this.wx.invoke(['shareWechatMessage', {
title: this.info.title, title: this.info.title,
desc: this.info.tableExplain, desc: this.info.tableExplain,
link: this.linkUrl, link: this.linkUrl,
@@ -183,9 +181,7 @@ export default {
}, e => { }, e => {
console.log(e) console.log(e)
this.isShow = false this.isShow = false
}]).then(e => { }])
console.log(e)
})
} }
} }
} }