PrinceLee 5 жил өмнө
parent
commit
8828ab9660

+ 4 - 0
src/views/projectManage/bugList/bugindex.vue

@@ -617,6 +617,9 @@ export default {
       }
     },
     async getBugList() {
+      if (!this.stratAndEnd) {
+        this.stratAndEnd = []
+      }
       this.formInline.createStartTime = this.stratAndEnd[0] || null
       this.formInline.createEndTime = this.stratAndEnd[1] || null
       this.indexPage = this.formInline
@@ -668,6 +671,7 @@ export default {
       })
     },
     resetQuery() {
+      this.stratAndEnd = []
       var combination = {}
       combination = this.formInline
       this.formInline = {}