zhengkaixin 2 lat temu
rodzic
commit
98ec9c5c62
1 zmienionych plików z 6 dodań i 3 usunięć
  1. 6 3
      pagesFinance/user/index.vue

+ 6 - 3
pagesFinance/user/index.vue

@@ -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();