提交 92d0d787 编写于 作者: guangjun.yang's avatar guangjun.yang

返回地址问题

上级 3537f351
......@@ -60,6 +60,7 @@ export default {
this.projectId = projectId || 0;
this.orderId = orderId || 0;
this.returnUrl = returnUrl;
console.log('projectId', '', '', this.projectId, this.orderId, this.returnUrl, decodeURIComponent(this.returnUrl));
// 直接从商品过来的
// if(!this.projectId) {
// this.msgContent = "购买成功";
......@@ -164,7 +165,8 @@ export default {
component_tag: `889#88901`
});
// let shareUrl = getWebPageUrl(`profexam/#/sharecoop?uuid=${getCookie('uuid')}`);
this.returnUrl && location.replace(this.returnUrl);
// this.returnUrl && location.replace(this.returnUrl);
this.returnUrl && (location.href = decodeURIComponent(this.returnUrl));
},
// 下载
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册