chenrui 2 yıl önce
ebeveyn
işleme
b121940fd1
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  1. 5 0
      pages/sales/customerList.vue

+ 5 - 0
pages/sales/customerList.vue

@@ -75,6 +75,10 @@ export default {
 			}
 			let params = Object.assign(this.params, { pageNo: this.pageNo, pageSize: this.pageSize });
 			this.status = 'loading';
+			uni.showLoading({
+				title:'加载中',
+				mask:true
+			})
 			queryCustomerPage(params).then(res => {
 				if (res.status == 200) {
 					if (this.pageNo > 1) {
@@ -94,6 +98,7 @@ export default {
 					this.totalNum = 0
 					this.noDataText = res.message ? res.message : '网络似乎出错了,请稍后再试'
 				}
+				uni.hideLoading();
 				this.noDataText = '暂无客户'
 				this.scrollTop = 0;
 			});