|
@@ -149,8 +149,8 @@ const pageInfo = reactive<reactiveTableAndAny>({
|
149
|
149
|
{label:'按名称升序',value:'2'},
|
150
|
150
|
{label:'按更新时间降序',value:'3'},
|
151
|
151
|
{label:'按更新时间升序',value:'4'},
|
152
|
|
- {label:'按创建时间降序',value:'5'},
|
153
|
|
- {label:'按创建时间升序',value:'6'},
|
|
152
|
+ {label:'按创建时间降序',value:'6'},
|
|
153
|
+ {label:'按创建时间升序',value:'5'},
|
154
|
154
|
],
|
155
|
155
|
fileList:[],
|
156
|
156
|
materialList:[],
|
|
@@ -159,7 +159,7 @@ const pageInfo = reactive<reactiveTableAndAny>({
|
159
|
159
|
breadList:[],
|
160
|
160
|
sortObj:{
|
161
|
161
|
sort_field:'created_at',
|
162
|
|
- order:'asc'
|
|
162
|
+ order:'desc'
|
163
|
163
|
},
|
164
|
164
|
albumId:0,
|
165
|
165
|
keyword:'',
|
|
@@ -296,13 +296,13 @@ const sortEvent = (val:any) => {
|
296
|
296
|
pageInfo.sortObj.order = 'asc'
|
297
|
297
|
}else if(val=='5'){
|
298
|
298
|
pageInfo.sortObj.sort_field = 'created_at'
|
299
|
|
- pageInfo.sortObj.order = 'desc'
|
|
299
|
+ pageInfo.sortObj.order = 'asc'
|
300
|
300
|
}else if(val=='6'){
|
301
|
301
|
pageInfo.sortObj.sort_field = 'created_at'
|
302
|
|
- pageInfo.sortObj.order = 'asc'
|
|
302
|
+ pageInfo.sortObj.order = 'desc'
|
303
|
303
|
}else{
|
304
|
304
|
pageInfo.sortObj.sort_field = 'created_at'
|
305
|
|
- pageInfo.sortObj.order = 'asc'
|
|
305
|
+ pageInfo.sortObj.order = 'desc'
|
306
|
306
|
}
|
307
|
307
|
initFile_Album(1)
|
308
|
308
|
}
|