Commit 0fe96356 authored by Xuguangxing's avatar Xuguangxing

fix

parent 9ff481a1
...@@ -159,7 +159,7 @@ export default { ...@@ -159,7 +159,7 @@ export default {
if (this.order) { if (this.order) {
this.$router.push({ this.$router.push({
name: 'createOrder', name: 'createOrder',
params: { addressList, orderAdder: this.order, from: 'address' } params: { addressList, orderAdder: this.order }
}); });
return; return;
} }
......
...@@ -525,9 +525,7 @@ export default { ...@@ -525,9 +525,7 @@ export default {
// 2: '自己做团长' // 2: '自己做团长'
// }; // };
const query = {}; const query = {};
if (type == 3) { localStorage.set('groupBuyGroupId', type == 3 ? this.groupId : '');
query.groupBuyGroupId = this.groupId;
}
this.$router.push({ this.$router.push({
name: 'createOrder', name: 'createOrder',
query query
......
...@@ -100,14 +100,6 @@ export default { ...@@ -100,14 +100,6 @@ export default {
created() { created() {
if (isApp) this.nativeBridge = new Bridge(); if (isApp) this.nativeBridge = new Bridge();
else if (isWxMp) this.nativeBridge = new MpBridge(); 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: { methods: {
init() { 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