Browse Source

默认排序

1178232204@qq.com 3 years ago
parent
commit
aab34a3dc2
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/components/BlockLossManage/index.js

+ 4 - 2
src/components/BlockLossManage/index.js

@@ -29,7 +29,8 @@ function BlockLossManage() {
         pages: 1,
         pages: 1,
         current: 1,
         current: 1,
         size: 15,
         size: 15,
-        desc:['status','gmt_create'],
+        asc:['status'],
+        desc:['gmt_modified'],
         startDate: getCurrentDataFront().split('/').join('-') + ' 00:00:00',
         startDate: getCurrentDataFront().split('/').join('-') + ' 00:00:00',
         endDate: getCurrentData().split('/').join('-') + ' 23:23:59'
         endDate: getCurrentData().split('/').join('-') + ' 23:23:59'
     });
     });
@@ -38,7 +39,8 @@ function BlockLossManage() {
         pages: 1,
         pages: 1,
         current: 1,
         current: 1,
         size: size,
         size: size,
-        desc:['status','gmt_create'],
+        asc:['status'],
+        desc:['gmt_modified'],
         startDate: getCurrentDataFront().split('/').join('-') + ' 00:00:00',
         startDate: getCurrentDataFront().split('/').join('-') + ' 00:00:00',
         endDate: getCurrentData().split('/').join('-') + ' 23:23:59'
         endDate: getCurrentData().split('/').join('-') + ' 23:23:59'
     }
     }