zhengkaixin 2 年之前
父節點
當前提交
98ec9c5c62
共有 1 個文件被更改,包括 6 次插入3 次删除
  1. 6 3
      pagesFinance/user/index.vue

+ 6 - 3
pagesFinance/user/index.vue

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