测试微信分享

This commit is contained in:
mengxiaolong
2020-08-04 14:27:53 +08:00
parent 58074ebea7
commit fecb34f337

View File

@@ -276,14 +276,13 @@ export default {
title = '国富人寿转账不成功问题件处理'
}
if (data.trigger == 'right_button_click') {
let token = window.localStorage.getItem('token')
// eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('bridge', {
flag: 'share',
extra: {
title: title,
content: this.shareContent,
url: `${location.origin}/#/questions/detail?&token=${token}`,
url: `${location.origin}/#/questions/detail/${this.problemDetail.id}/${this.problemDetail.receiveType}?&token=${localStorage.token}`,
img: this.$assetsUrl + 'images/logo.png'
}
})
@@ -434,6 +433,7 @@ export default {
async created() {
this.issueType = this.$route.params.type
if (this.isWeixin) {
localStorage.setItem('token', this.$route.query.token)
let imgBase64Data = sessionStorage.getItem('oneimgBase64Data')
let wxSigned = sessionStorage.getItem('onewxSigned')
let signInfo = JSON.parse(localStorage.getItem('signInfo'))