Commit 63287d3c authored by youjie's avatar youjie

优化请求

parent d96f63fa
......@@ -424,7 +424,9 @@
};
this.showAuth = true;
}
// #ifdef MP-AG
this.getSale()
// #endif
},
mounted() {
uni.getStorage({
......
......@@ -244,7 +244,9 @@
},
created() {
this.b2bUser = uni.getStorageSync("b2b_user");
// #ifdef MP-AG
this.getSale()
// #endif
},
mounted() {
uni.getStorage({
......
......@@ -555,7 +555,9 @@
};
this.showAuth = true;
}
// #ifdef MP-AG
this.getSale()
// #endif
},
mounted() {
uni.getStorage({
......
......@@ -1351,7 +1351,9 @@
this.b2bUser = uni.getStorageSync("b2b_user");
this.customer = this.b2bUser
this.getDetails();
// #ifdef MP-AG
this.getSale()
// #endif
let basedata = uni.getStorageSync("basedata");
//判断后台是否开启自动授权
if (basedata && basedata.mall && basedata.mall.setting && basedata.mall.setting && basedata.mall.setting.is_show_auth ==
......
......@@ -400,7 +400,9 @@
}
})
}
// #ifdef MP-AG
this.getSale()
// #endif
this.getDetails();
let that = this;
......
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