shish 3 lat temu
rodzic
commit
59fb781050
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      ghsApp/src/pagesStorehouse/inventory/list.vue

+ 2 - 1
ghsApp/src/pagesStorehouse/inventory/list.vue

@@ -48,10 +48,11 @@ export default {
 		...mapGetters(["getLoginInfo"])
 	},
 	onShow() {
+		this.resetList()
 		this._list()
 	},
 	onPullDownRefresh() {
-		this.resetList();
+		this.resetList()
 		this._list().then(res => {
 			uni.stopPullDownRefresh();
 		});