From 25bbe16c9868ae17c37ed9a98ad5e8c1691713e1 Mon Sep 17 00:00:00 2001 From: lishenfeng Date: Mon, 11 Nov 2024 14:09:30 +0800 Subject: [PATCH] =?UTF-8?q?fix():bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/skInfo/index.vue | 4 ++-- pages/xcrw/detail/index.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/skInfo/index.vue b/pages/skInfo/index.vue index e034992..c93cdec 100644 --- a/pages/skInfo/index.vue +++ b/pages/skInfo/index.vue @@ -53,7 +53,7 @@ "h24":'24h预报mm', "yesterdayDrp":'昨日雨量mm', 'totCap':'总库容m³', - "cap":'蓄水量万m³' + "nowCap":'蓄水量万m³' }, tm: moment().format('YYYY-MM-DD HH:mm:ss'), dataform:{}, @@ -67,7 +67,7 @@ } }, - onShow() { + mounted() { console.log('小玉潭水库222'); this.getList() this.getDrp() diff --git a/pages/xcrw/detail/index.vue b/pages/xcrw/detail/index.vue index 45baae2..9b553ca 100644 --- a/pages/xcrw/detail/index.vue +++ b/pages/xcrw/detail/index.vue @@ -169,7 +169,7 @@ this.taskTitle = option.taskTitle this.taskType = option.taskType this.taskContent = option.taskContent == "null" ? null : option.taskContent - this.startDate = (option.startDate) + this.startDate = option.startDate == "null" ? "" : option.startDate this.endDate = option.endDate == "null" ? "" : option.endDate this.status = option.status this.id = option.id