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('活动结束时间必须大于活动开始时间') }