From 955f8bc8b40e1530a9255a114ea551b33914e432 Mon Sep 17 00:00:00 2001 From: ZhaoTongYao <531131322@qq.com> Date: Mon, 23 Aug 2021 19:15:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/epidemic/persontesting-add-or-update.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/modules/epidemic/persontesting-add-or-update.vue b/src/views/modules/epidemic/persontesting-add-or-update.vue index 78724f6..367aa1d 100644 --- a/src/views/modules/epidemic/persontesting-add-or-update.vue +++ b/src/views/modules/epidemic/persontesting-add-or-update.vue @@ -190,6 +190,7 @@ } }, created() { + console.log('add') // this.visible = true this.$nextTick(() => { // this.dataForm.communityId = this.dataForm.streetId = this.dataForm.gridId = null @@ -200,11 +201,11 @@ }, methods: { init() { - this.$set(this.dataForm,'testingTime', new Date()) - console.log(this.dataForm.testingTime) this.visible = true this.$nextTick(() => { this.$refs['dataForm'].resetFields() + // this.$set(this.dataForm,'testingTime', new Date()) + this.dataForm.testingTime = new Date() if (this.dataForm.id) { this.getInfo() }