zhuliu преди 7 месеца
родител
ревизия
5b17e195d7
променени са 1 файла, в които са добавени 8 реда и са изтрити 0 реда
  1. 8 0
      src/views/report/components/index.vue

+ 8 - 0
src/views/report/components/index.vue

@@ -507,6 +507,14 @@ export default {
         order,
       }
       this.sort = this.$commonJS.getSortData(params)
+      if(!this.sort || this.sort.length == 0){
+        this.sort = [
+          {
+            "orderBy": "createTime",
+            "orderType": 1
+          }
+        ]
+      }
       this.queryParams.current = 1
       this.isGrouping()
     },