Commit 0fe96356 authored by Xuguangxing's avatar Xuguangxing

fix

parent 9ff481a1
......@@ -159,7 +159,7 @@ export default {
if (this.order) {
this.$router.push({
name: 'createOrder',
params: { addressList, orderAdder: this.order, from: 'address' }
params: { addressList, orderAdder: this.order }
});
return;
}
......
......@@ -525,9 +525,7 @@ export default {
// 2: '自己做团长'
// };
const query = {};
if (type == 3) {
query.groupBuyGroupId = this.groupId;
}
localStorage.set('groupBuyGroupId', type == 3 ? this.groupId : '');
this.$router.push({
name: 'createOrder',
query
......
......@@ -100,14 +100,6 @@ export default {
created() {
if (isApp) this.nativeBridge = new Bridge();
else if (isWxMp) this.nativeBridge = new MpBridge();
const groupId = this.$route.query.groupBuyGroupId;
if (this.$route.query.groupBuyGroupId) {
localStorage.set('groupBuyGroupId', groupId);
} else {
if (this.$route.query.from != 'address') {
localStorage.remove('groupBuyGroupId', groupId);
}
}
},
methods: {
init() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment