From f116bda379f2d31fa59e5e1f214d2c6ac3330a18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B2=E6=A0=91=E9=80=9A?= <1976590620@qq.com> Date: Wed, 8 Apr 2020 17:28:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E7=AE=A1=E7=90=86=E6=8A=A5?= =?UTF-8?q?=E5=90=8D=E6=88=AA=E6=AD=A2=E6=97=B6=E9=97=B4=E5=A4=A7=E4=BA=8E?= =?UTF-8?q?=E5=BD=93=E5=89=8D=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/heart/actinfo-add-or-update.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/modules/heart/actinfo-add-or-update.vue b/src/views/modules/heart/actinfo-add-or-update.vue index 441bf624..ca93bcc6 100644 --- a/src/views/modules/heart/actinfo-add-or-update.vue +++ b/src/views/modules/heart/actinfo-add-or-update.vue @@ -4,7 +4,6 @@
@@ -638,6 +637,9 @@ export default { }, // 表单提交 dataFormSubmitHandle: debounce(function () { + if (new Date() >= new Date(this.dataForm.signupEndTime)) { + return this.$message.error('报名截止时间必须大于当前时间') + } if (this.dataForm.actStartTime >= this.dataForm.actEndTime) { return this.$message.error('活动结束时间必须大于活动开始时间') }