Parcourir la source

判断结束时间不能大于开始时间

bianww il y a 3 ans
Parent
commit
48d7324f3b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/pages/main/antiSpoofing/standingBook.vue

+ 1 - 1
src/pages/main/antiSpoofing/standingBook.vue

@@ -106,7 +106,7 @@
             searchInfo(v) {
                 if (v[0] && v[1]){
                     let begin = this.$formatDate(v[0], "YYYY-MM");
-                    let end = this.$formatDate(v[0], "YYYY-MM");
+                    let end = this.$formatDate(v[1], "YYYY-MM");
                     if ((new Date(end)).getTime() < (new Date(begin)).getTime()){
                         this.$message.warning(
                             "开始时间不能大于结束时间!!"