提交 d7d539d1 编写于 作者: guofeng.chen's avatar guofeng.chen

去掉returnUrl

上级 d1047687
......@@ -133,7 +133,7 @@ export default {
mounted() {
this.projectId = this.$route.query.projectId;
this.goodsId = this.$route.query.goodsId || 74;
this.returnUrl = encodeURIComponent(this.$route.query.returnUrl);
// this.returnUrl = encodeURIComponent(this.$route.query.returnUrl);
this.getGoodsInfo();
this.getTabW();
const { token, info } = this.$store.state.user;
......@@ -214,6 +214,8 @@ export default {
costPriceText: (totalPrice / 100).toFixed(2),
}
this.goodsNum = num;
} else if (res.code === "200006") {
this.$store.dispatch('logout')
}
})
},
......@@ -367,9 +369,9 @@ export default {
if (that.projectId) {
query.projectId = that.projectId
}
if (that.returnUrl) {
query.returnUrl = that.returnUrl
}
// if (that.returnUrl) {
// query.returnUrl = that.returnUrl
// }
that.$router.push({ path: '/prezult', query });
},
fail: function() {
......@@ -417,9 +419,9 @@ export default {
if (this.projectId) {
path += `&projectId=${this.projectId}`
}
if (this.returnUrl) {
path += `&returnUrl=${this.returnUrl}`
}
// if (this.returnUrl) {
// path += `&returnUrl=${this.returnUrl}`
// }
return getWebPageUrl(path);
},
// 绑定项目和订单的关系
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册