Commit 01073afb by jzou

'群活码链接生成'

1 parent 742b7be6
......@@ -105,10 +105,10 @@ export default {
groupCodeUrl () {
if (window.location.hash[0] === '#') {
return window.location.origin + '/#/groupCode?id=' + this.task.groupCodeInfo.uuid
return window.location.origin + window.location.pathname + '#/groupCode?id=' + this.task.groupCodeInfo.uuid
}
return window.location.origin + '/groupCode?id=' + this.task.groupCodeInfo.uuid
return window.location.origin + window.location.pathname + 'groupCode?id=' + this.task.groupCodeInfo.uuid
}
},
......
......@@ -180,10 +180,10 @@ export default {
groupCodeUrl () {
if (window.location.hash[0] === '#') {
return window.location.origin + '/#/groupCode?id=' + this.task.groupCodeInfo.uuid
return window.location.origin + window.location.pathname + '#/groupCode?id=' + this.task.groupCodeInfo.uuid
}
return window.location.origin + '/groupCode?id=' + this.task.groupCodeInfo.uuid
return window.location.origin + window.location.pathname + 'groupCode?id=' + this.task.groupCodeInfo.uuid
}
},
......
......@@ -39,7 +39,7 @@ window.CONFIG = {
* 由于群活码是由前端生成,需要配置一下群活码跳转的链接
* 例如: http://xxx.xxx.xx/h5/groupCode
*/
groupCodeH5Link: '',
groupCodeH5Link: 'http://linkwechat.cn/mobile/#/groupCode',
get headers() {
return { Authorization: 'Bearer ' + getToken() }
......
......@@ -39,7 +39,7 @@ export default {
},
data() {
return {
qrCodeUrl: 'http://www.linkwechat.cn/static/img/qrCodeImage.a6d01316.png',
qrCodeUrl: 'http://demo.linkwechat.cn/static/img/qrCodeImage.a6d01316.png',
visible: false
}
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!