NEZ-2494 feat: role 编辑框修改保存提示优化

This commit is contained in:
zhangyu
2023-01-06 16:17:31 +08:00
parent 073dd77bdd
commit 2d9b85523c
6 changed files with 49 additions and 19 deletions

View File

@@ -582,7 +582,6 @@ export default {
}
},
orderBy (key, type, order) {
console.log(key, type, order)
let orderType = type
if (!orderType) {
orderType = this[key] === 'asc' ? 'desc' : 'asc'
@@ -592,7 +591,6 @@ export default {
this[key] = 0
this.fileList = this.oldFileList
} else if (orderType == 'nameOrderType') {
console.log(3)
this[key] = orderType
let isDirArr = this.oldFileList.filter(item => item.isDir)
let isRegArr = this.oldFileList.filter(item => !item.isDir)
@@ -605,7 +603,6 @@ export default {
this.fileList = this.fileList.concat(isRegArr, isDirArr)
}
} else {
console.log(4)
this[key] = orderType
let isDirArr = this.oldFileList.filter(item => item.isDir)
let isRegArr = this.oldFileList.filter(item => !item.isDir)