bug
This commit is contained in:
@@ -163,25 +163,27 @@ 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.wx.invoke(['shareAppMessage', {
|
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,
|
||||||
imgUrl: this.info.headPicture
|
imgUrl: this.info.headPicture,
|
||||||
|
enableIdTrans: 0
|
||||||
}, e => {
|
}, e => {
|
||||||
console.log(e)
|
console.log(e)
|
||||||
this.isShow = false
|
this.isShow = false
|
||||||
}])
|
})
|
||||||
} else {
|
} else {
|
||||||
this.wx.invoke(['shareWechatMessage', {
|
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,
|
||||||
imgUrl: this.info.headPicture
|
imgUrl: this.info.headPicture,
|
||||||
|
enableIdTrans: 0
|
||||||
}, e => {
|
}, e => {
|
||||||
console.log(e)
|
console.log(e)
|
||||||
this.isShow = false
|
this.isShow = false
|
||||||
}])
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user