From ca3dc72b155bc09c1130a40f3eef10c6b31ceaef Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Sat, 17 Aug 2024 14:01:03 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E6=96=99=E9=9A=94=E7=A6=BB=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=EF=BC=8CPDA=E5=A2=9E=E5=8A=A0=E7=89=A9=E6=96=99?= =?UTF-8?q?=E5=8F=B7=E6=9F=A5=E8=AF=A2=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/inventoryMove/coms/comMoveJob.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/inventoryMove/coms/comMoveJob.vue b/src/pages/inventoryMove/coms/comMoveJob.vue index 7446bf81..4e77583f 100644 --- a/src/pages/inventoryMove/coms/comMoveJob.vue +++ b/src/pages/inventoryMove/coms/comMoveJob.vue @@ -212,14 +212,14 @@ uni.stopPullDownRefresh(); } - var list = res.data.list; + let list = res.data.list; this.totalCount = res.data.total this.loadingType = "loadmore"; + this.jobList = type === "refresh" ? list : this.jobList.concat(list); if (list == null || list.length == 0) { this.loadingType = "nomore"; return; } - this.jobList = type === "refresh" ? list : this.jobList.concat(list); this.pageNo++; this.updateTitle(); }).catch(error => {