shish 2 lat temu
rodzic
commit
7f17feb711
1 zmienionych plików z 4 dodań i 1 usunięć
  1. 4 1
      ghsApp/src/admin/item/list.vue

+ 4 - 1
ghsApp/src/admin/item/list.vue

@@ -179,9 +179,12 @@ export default {
 				this.delStatus = this.option.delStatus
 			}
 			let requestType = this.option.warning && this.option.warning == 1 ? 'warning' : 'itemList'
-			this.initData({ type, shopId: this.shopId,status:this.status,delStatus:this.delStatus,requestType:requestType})
+			this.initData({ type, shopId: this.shopId,status:this.status,delStatus:this.delStatus,requestType:requestType}).then(res=>{
+				uni.hideLoading()
+			})
 		},
 		refreshItem(){
+			uni.showLoading({mask:true})
 			this.initItem()
 		},
 		hideChangeFn(item,status){