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

传递商品ID给课程页面

返回路径放在session中
样式问题
上级 3d5917d6
......@@ -141,6 +141,7 @@
:cmeType="project.cmeType"
:logged="logged"
:projectId="projectId"
:goodsId="cardInfo.id"
/>
</div>
</div>
......@@ -417,6 +418,7 @@ export default {
this.shareUrl = getWebPageUrl(`cme/#/sharecoop?uuid=${this.uuid}`);
location.replace(this.shareUrl);
}
sessionStorage.setItem('returnUrl', this.shareUrl);
const { token, info } = this.$store.state.user;
this.token = getCookie("token") || token;
......@@ -690,7 +692,7 @@ export default {
this.projectId
}&returnUrl=${encodeURIComponent(this.shareUrl)}`
);
sessionStorage.setItem('returnUrl', encodeURIComponent(this.shareUrl));
// sessionStorage.setItem('returnUrl', encodeURIComponent(this.shareUrl));
window.location.href = jumpUrl;
});
},
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册