|
@@ -184,7 +184,7 @@ export default {
|
|
|
tableLoading:false,//表格loading
|
|
|
sortKeys:[
|
|
|
'Expiration','ModifyTime','LastLoginTime','ActiveTime',
|
|
|
- 'IndexNum','ChartNum','LoginNum'
|
|
|
+ 'IndexNum','ChartNum','LoginNum','LastLoginDuration'
|
|
|
],//需要排序的字段
|
|
|
SortParam:'',//排序字段
|
|
|
SortType:'',//升序降序
|
|
@@ -273,7 +273,7 @@ export default {
|
|
|
},
|
|
|
sortChangeHandle({prop,order}){
|
|
|
this.SortParam = prop
|
|
|
- this.SortType = order==='ascending'?'asc':'desc'
|
|
|
+ this.SortType = order?order==='ascending'?'asc':'desc':''
|
|
|
this.currentPage=1
|
|
|
this.getTableData()
|
|
|
},
|