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

参数问题

上级 f895ddf7
......@@ -186,6 +186,7 @@ export default {
shareTitleInfo: "",
isShowShare: true,
isShowCantBuyTips: false,
couponToken: "",
};
},
computed: {
......@@ -228,6 +229,8 @@ export default {
this.projectId = this.$route.query.projectId;
this.goodsId = this.$route.query.goodsId;
this.courseUrl = this.$route.query.courseUrl || ""; //
this.couponToken = this.$route.query.couponToken || ""
alert(this.couponToken);
this.shareUrl = getWebPageUrl(
`profexam/#/goods-detail?goodsId=${this.goodsId}`
);
......@@ -277,7 +280,7 @@ export default {
if (this.isWeb) {
let { token, info } = this.$store.state.user;
token =
token ||
token || this.couponToken ||
localStorage.getItem("couponToken") ||
getCookie("couponToken");
this.token = token;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册