From 23554888523205a4a22507e442c0537fef45f1b7 Mon Sep 17 00:00:00 2001 From: fanfan Date: Sat, 23 Mar 2024 20:44:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/news3/setOutRecords.vue | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/pages/news3/setOutRecords.vue b/pages/news3/setOutRecords.vue index 7a1fda0..c1e49c2 100644 --- a/pages/news3/setOutRecords.vue +++ b/pages/news3/setOutRecords.vue @@ -16,7 +16,7 @@ - + @@ -105,6 +105,9 @@ + + 手动录入 + @@ -128,24 +131,20 @@ }], } }, - onLoad(o) { - this.getList(1) - }, + onLoad(o) {}, //页面卸载 onUnload() { //关闭监听选择收货地址事件 uni.$off('refreshData') }, onShow() { - this.classifyShow =1 - uni.$on('refreshData', () => { - // 调用列表接口 - if (this.classifyShow == 2) { - this.getOrderList(1); - } else { - this.getList(1) - } - }) + this.classifyShow = 1 + // 调用列表接口 + if (this.classifyShow == 2) { + this.getOrderList(1); + } else { + this.getList(1) + } }, onPullDownRefresh() { this.pageNum = 1;