mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-13 20:12:48 +00:00
perf: 优化文件列表
This commit is contained in:
parent
01c721c7e0
commit
65ec3a10bf
@ -644,13 +644,7 @@ export default {
|
|||||||
cb();
|
cb();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, [
|
}, $A.getFileName(row)));
|
||||||
h('AutoTip', {
|
|
||||||
props: {
|
|
||||||
placement: 'top'
|
|
||||||
}
|
|
||||||
}, $A.getFileName(row))
|
|
||||||
]));
|
|
||||||
//
|
//
|
||||||
const iconArray = [];
|
const iconArray = [];
|
||||||
if (row.share) {
|
if (row.share) {
|
||||||
@ -748,7 +742,7 @@ export default {
|
|||||||
sortable: true,
|
sortable: true,
|
||||||
},
|
},
|
||||||
].map(item => {
|
].map(item => {
|
||||||
if (item.key === FileObject.sort.key) {
|
if (FileObject.sort && item.key === FileObject.sort.key) {
|
||||||
item.sortType = FileObject.sort.order
|
item.sortType = FileObject.sort.order
|
||||||
}
|
}
|
||||||
return item;
|
return item;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user