From 0f83419ea162d10cb3bc9f4a471ab1e65df68dff Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期三, 29 十月 2025 18:45:52 +0800
Subject: [PATCH] 优化
---
新建文件夹/PDA/pages/stash/Checkoutorder.vue | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/Checkoutorder.vue" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/Checkoutorder.vue"
index bc6fa3a..b8da3c9 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/Checkoutorder.vue"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/PDA/pages/stash/Checkoutorder.vue"
@@ -55,7 +55,7 @@
pageNo: 1,
scrollTop: 0,
warehouseId: "",
- isLoaded:false
+ ischeck:false
}
},
onLoad(res) {
@@ -66,10 +66,14 @@
onReachBottom() {
this.pageNo += 1;
this.getData();
- this.isLoaded=true;
+ this.ischeck=true;
},
onShow() {
- if (this.isLoaded) {
+ this.ischeck = uni.getStorageSync('ischeck');
+ if (this.ischeck) {
+ uni.removeStorageSync('ischeck');
+ this.pageNo = 1;
+ this.allReceivingOrders = [];
// 浠庡叾浠栭〉闈㈣繑鍥炴椂鍒锋柊
this.getData();
}
--
Gitblit v1.9.3