From cd7502f9586349292fcc3b488073a2580a857286 Mon Sep 17 00:00:00 2001 From: xiaofajia <1665375861@qq.com> Date: Tue, 17 Dec 2024 14:29:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/TodayTable.vue | 5 +++-- pages/index/index.vue | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pages/index/TodayTable.vue b/pages/index/TodayTable.vue index 7b9c43b..12838df 100644 --- a/pages/index/TodayTable.vue +++ b/pages/index/TodayTable.vue @@ -149,13 +149,14 @@ export default { this.getTableData(); }, handleSearch() { + this.tableData = [] this.queryParams.pageNum = 1 if (this.queryParams.queryTime) { this.queryParams.startTime = this.queryParams.queryTime[0]; this.queryParams.endTime = this.queryParams.queryTime[1]; - this.getCountMap() - this.getTableData(); } + this.getCountMap() + this.getTableData(); }, getTableData(isLoadMore = false) { this.loading = true; // 开始加载更多 diff --git a/pages/index/index.vue b/pages/index/index.vue index ea94715..d25e487 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -202,7 +202,7 @@ }, methods: { goPresent(){ - if (!this.present){ + if (!this.present?.filePath){ uni.showToast({ title: '暂无使用说明', icon: 'none'