zhengkaixin
2 lat temu
|
@@ -202,15 +202,15 @@
|
|
|
|
|
|
}).then((response) => {
|
|
|
uni.hideLoading();
|
|
|
- this.query()
|
|
|
- this.getHomePage()
|
|
|
+ this.query(true)
|
|
|
+
|
|
|
}).catch(error => {
|
|
|
uni.hideLoading();
|
|
|
|
|
|
})
|
|
|
//
|
|
|
},
|
|
|
- query(){
|
|
|
+ query(bl){
|
|
|
uni.showLoading({
|
|
|
title: "加载中",
|
|
|
mask: true,
|
|
@@ -231,6 +231,9 @@
|
|
|
if(this.isswitch){
|
|
|
this.allUserList()
|
|
|
}
|
|
|
+ if(bl){
|
|
|
+ this.getHomePage()
|
|
|
+ }
|
|
|
uni.hideLoading();
|
|
|
}).catch(error => {
|
|
|
uni.hideLoading();
|