From 540041c9e95506b2a4879d1326efc179ea540dbc Mon Sep 17 00:00:00 2001 From: DouDou <877258667@qq.com> Date: Mon, 23 Dec 2024 12:00:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E5=85=B7=E7=9A=84=E4=BB=A3=E7=A0=81BU?= =?UTF-8?q?G?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tooling/components/com_tool_instance_date_add_update.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/modules/tooling/components/com_tool_instance_date_add_update.vue b/src/views/modules/tooling/components/com_tool_instance_date_add_update.vue index 389d930..2a84a36 100644 --- a/src/views/modules/tooling/components/com_tool_instance_date_add_update.vue +++ b/src/views/modules/tooling/components/com_tool_instance_date_add_update.vue @@ -23,7 +23,7 @@ @@ -173,7 +173,7 @@ export default { } const begin = this.dayjs(this.pageData.beginDate); const now = this.dayjs(this.dayjs().format('YYYY-MM-DD')); - if (begin.valueOf() < now.valueOf()) { + if (this.addFlag && begin.valueOf() < now.valueOf()) { this.$message.error('开始日期不能小于当前日期!'); this.pageData.beginDate = ''; }