提交 0af9089b 编写于 作者: guangjun.yang's avatar guangjun.yang

分享的路径不对

上级 4995e794
...@@ -77,7 +77,7 @@ export default { ...@@ -77,7 +77,7 @@ export default {
}, },
created() { created() {
this.openPath = getWebPageUrl(`profexam/#/as-index`); this.openPath = getWebPageUrl(`annualsummary/#/as-index`);
}, },
methods: { methods: {
......
...@@ -251,7 +251,7 @@ export default { ...@@ -251,7 +251,7 @@ export default {
// 调用原生分享(弹框) // 调用原生分享(弹框)
share() { share() {
let shareUrl = getWebPageUrl( let shareUrl = getWebPageUrl(
`profexam/#/as-share?uuid=${this.anualData.uuid}` `annualsummary/#/as-share?uuid=${this.anualData.uuid}`
); );
rocNative && rocNative &&
rocNative.shareWechat({ rocNative.shareWechat({
......
...@@ -71,7 +71,7 @@ export default { ...@@ -71,7 +71,7 @@ export default {
} }
this.shareUrl = location.href; this.shareUrl = location.href;
if (href.indexOf("singlemessage") >= 0 || href.indexOf("wx_code") >= 0) { if (href.indexOf("singlemessage") >= 0 || href.indexOf("wx_code") >= 0) {
this.shareUrl = getWebPageUrl(`profexam/#/as-share?uuid=${this.uuid}`); this.shareUrl = getWebPageUrl(`annualsummary/#/as-share?uuid=${this.uuid}`);
location.replace(this.shareUrl); location.replace(this.shareUrl);
} }
this.initData(); this.initData();
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册