Browse Source

问题修改

SunZehao 11 months ago
parent
commit
7e15821005
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/components/assessment/evaluationBenchmarkManagePage.vue

+ 2 - 0
src/components/assessment/evaluationBenchmarkManagePage.vue

@@ -314,6 +314,8 @@
                         this.timeIds = (year + '-' + month).toString()
                         this.timeIds = (year + '-' + month).toString()
                     }
                     }
                     this.changTimeDate(this.timeIds)
                     this.changTimeDate(this.timeIds)
+                } else {
+                    this.timeIds = (new Date().getFullYear() - 1).toString()
                 }
                 }
             },
             },
             scalingValueBlur(val, row, type) {
             scalingValueBlur(val, row, type) {