|
@@ -125,7 +125,7 @@
|
|
merchantType:'',
|
|
merchantType:'',
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- onLoad(opt) {
|
|
|
|
|
|
+ onLoad(opt) {
|
|
this.merchantType=uni.getStorageSync('merchantType');
|
|
this.merchantType=uni.getStorageSync('merchantType');
|
|
if(this.merchantType==10){
|
|
if(this.merchantType==10){
|
|
this.getData();
|
|
this.getData();
|
|
@@ -134,7 +134,7 @@
|
|
this.getData2();
|
|
this.getData2();
|
|
this.getList2();
|
|
this.getList2();
|
|
}
|
|
}
|
|
- this.getType()
|
|
|
|
|
|
+ this.getType()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
getType() {
|
|
getType() {
|
|
@@ -174,7 +174,7 @@
|
|
this.list = [];
|
|
this.list = [];
|
|
uni.setStorageSync('homestayId', t.merchantId);
|
|
uni.setStorageSync('homestayId', t.merchantId);
|
|
uni.setStorageSync('merchantId', '');
|
|
uni.setStorageSync('merchantId', '');
|
|
- uni.navigateTo({
|
|
|
|
|
|
+ uni.reLaunch({
|
|
url: '/pages/home/index'
|
|
url: '/pages/home/index'
|
|
})
|
|
})
|
|
}
|
|
}
|