Explorar o código

修改设备列表刷新增多的问题

soobin %!s(int64=2) %!d(string=hai) anos
pai
achega
829713e5c3
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  1. 1 0
      pages/User/equipmentStatusList.vue
  2. 1 0
      pages/User/merchantList.vue

+ 1 - 0
pages/User/equipmentStatusList.vue

@@ -365,6 +365,7 @@
 			...mapState(['loginUser']),
 		},
 		onPullDownRefresh() {
+			this.equipmentList = [];
 			this.globalUser.offset = 1;
 			this.globalUser.limit = 20;
 			this.getEquipmentListData();

+ 1 - 0
pages/User/merchantList.vue

@@ -85,6 +85,7 @@
 			}
 		},
 		onPullDownRefresh() {
+			this.equipmentList = [];
 			this.globalUser.offset = 1;
 			this.globalUser.limit = 20;
 			this.getEquipmentListData();