提交 10a8b7d2 编写于 作者: guangjun.yang's avatar guangjun.yang

分享有问题

上级 9a935c04
...@@ -386,7 +386,11 @@ export default { ...@@ -386,7 +386,11 @@ export default {
this.from = this.$route.query.from || this.from || "native"; this.from = this.$route.query.from || this.from || "native";
let href = location.href; let href = location.href;
let uuidIndex = href.indexOf('uuid') || 0; let uuidIndex = href.indexOf('uuid') || 0;
this.uuid = href.substr(uuidIndex + 5, 32) || '07F9625472D6444EBAE4BF7D2EF83BC4'; if(uuidIndex > 0) {
this.uuid = href.substr(uuidIndex + 5, 32);
} else {
this.uuid = '07F9625472D6444EBAE4BF7D2EF83BC4'
}
if(href.indexOf('singlemessage') >= 0) { if(href.indexOf('singlemessage') >= 0) {
let shareUrl = getWebPageUrl(`cme/#/sharecoop?uuid=${this.uuid}`); let shareUrl = getWebPageUrl(`cme/#/sharecoop?uuid=${this.uuid}`);
location.replace(shareUrl); location.replace(shareUrl);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册