新增微信建议书分享链接打印日志 -- 李钢

This commit is contained in:
erp
2022-09-21 15:08:34 +08:00
parent 7d294f4722
commit 17637bfe1b

View File

@@ -604,13 +604,13 @@ export default {
} }
let res = await getSharingToken({ shareType: 'proposal_demonstrate' }) let res = await getSharingToken({ shareType: 'proposal_demonstrate' })
if (res.result == '0') { if (res.result == '0') {
console.log(location.origin + '/#/proposal/proposalInfo?proposalNo=' + encodeURI(this.proposalNo) + '&token=' + encodeURI(res.content))
window.EWebBridge.webCallAppInJs('bridge', { window.EWebBridge.webCallAppInJs('bridge', {
flag: 'share', flag: 'share',
extra: { extra: {
title: this.wxTitle, title: this.wxTitle,
content: shareContent, content: shareContent,
url: location.origin + '/#/proposal/proposalInfo?proposalNo=' + encodeURI(this.proposalNo) + '&token=' + encodeURI(res.content), url: location.origin + '/#/proposal/proposalInfo?proposalNo=' + encodeURI(this.proposalNo) + '&token=' + encodeURI(res.content),
console.log('url')
img: this.$assetsUrl + 'images/logo.png' img: this.$assetsUrl + 'images/logo.png'
} }
}) })