|
|
@@ -147,13 +147,10 @@ export default {
|
|
|
init() {
|
|
|
this.$util.getCheckLogin().then(res => {
|
|
|
if (res) {
|
|
|
- // #ifdef H5
|
|
|
- //let id = sessionStorage.getItem("introMerchantId");
|
|
|
let id = uni.getStorageSync('introMerchantId');
|
|
|
if (id > 0) {
|
|
|
this._getMerchantDet();
|
|
|
}
|
|
|
- // #endif
|
|
|
this._regionTree();
|
|
|
}
|
|
|
});
|
|
|
@@ -165,7 +162,7 @@ export default {
|
|
|
},
|
|
|
_getMerchantDet() {
|
|
|
// #ifdef H5
|
|
|
- let id = sessionStorage.getItem("introMerchantId");
|
|
|
+ let id = uni.getStorageSync('introMerchantId');
|
|
|
getIntroduce({ id: id }).then(res => {
|
|
|
this.merchantData = res.data;
|
|
|
});
|
|
|
@@ -173,7 +170,7 @@ export default {
|
|
|
},
|
|
|
// ==============
|
|
|
confirmFn() {
|
|
|
- let id = sessionStorage.getItem("introMerchantId");
|
|
|
+ let id = uni.getStorageSync('introMerchantId');
|
|
|
applyRegister({
|
|
|
// oldId: this.option.merchantId || 0,
|
|
|
introMerchantId: id || 0,
|