Commit e48e87bc authored by Mac's avatar Mac

判断是否调取接口

parent 6e906cdf
......@@ -352,7 +352,6 @@
this.init();
this.getstore()
let set = uni.getStorageSync("basedata") ?
uni.getStorageSync("basedata").mall.setting :
{};
......@@ -366,6 +365,10 @@
1;
this.setting = set;
this.isShowBack();
if(this.setting.IsOpenReserve && this.setting.IsOpenReserve==1){
this.getstore()
}
uni.showNavigationBarLoading();
},
......@@ -445,7 +448,13 @@
}, 500);
this.mainColor = this.$uiConfig.mainColor;
this.init();
this.getstore()
let set = uni.getStorageSync("basedata") ?
uni.getStorageSync("basedata").mall.setting :
{};
if(set.IsOpenReserve && set.IsOpenReserve==1){
this.getstore()
}
},
methods: {
......
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