From 9f6998e042d91743de07b4ef5e4ef0d9d81231b6 Mon Sep 17 00:00:00 2001 From: aixianling Date: Tue, 14 Jan 2025 11:37:19 +0800 Subject: [PATCH] =?UTF-8?q?refactor(BUG=20541):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E6=B2=BB=E7=96=97=E6=97=B6=E9=97=B4=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 AppImmunityManage 和 AppTreatmentManage 组件中,移除了治疗时间的自动初始化 - 在 AppTreatmentManage 组件中,将治疗时间初始化为当前时间的字符串格式 --- project/xumu/AppImmunityManage/add.vue | 1 - project/xumu/AppTreatmentManage/add.vue | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/project/xumu/AppImmunityManage/add.vue b/project/xumu/AppImmunityManage/add.vue index ddd8e464..cce1e18b 100644 --- a/project/xumu/AppImmunityManage/add.vue +++ b/project/xumu/AppImmunityManage/add.vue @@ -87,7 +87,6 @@ export default { }, created() { this.dict.load("yesOrNo", "category", "variety", "source") - this.detail.treatmentTime = new Date() this.getDetail() } } diff --git a/project/xumu/AppTreatmentManage/add.vue b/project/xumu/AppTreatmentManage/add.vue index b9089d8f..08c89a27 100644 --- a/project/xumu/AppTreatmentManage/add.vue +++ b/project/xumu/AppTreatmentManage/add.vue @@ -95,7 +95,7 @@ export default { }, created() { this.dict.load("yesOrNo") - this.detail.treatmentTime = new Date() + this.detail.treatmentTime = this.$moment().format("YYYY-MM-DD HH:mm:ss") this.getDetail() } }