daiqisheng %!s(int64=3) %!d(string=hai) anos
pai
achega
6fd71c8b10
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      src/pages/main/performance/mould.vue

+ 4 - 1
src/pages/main/performance/mould.vue

@@ -351,7 +351,10 @@ export default {
               templateId: this.issue_id,
             };
             if (this.issue_form.endTime) {
-              if (this.issue_form.endTime.getTime() < new Date().getTime()) {
+              if (
+                new Date(this.issue_form.endTime).getTime() <
+                new Date().getTime()
+              ) {
                 this.$message.error("截止时间不能小于当前时间");
                 return false;
               }