文件加入排序选项
This commit is contained in:
parent
a25b7bba3b
commit
bb6d4d8e28
@ -498,19 +498,19 @@ watch(router.currentRoute, (now, old) =>{
|
|||||||
</el-popover>
|
</el-popover>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="文件名" width="500px">
|
<el-table-column label="文件名" width="500px" sortable sort-by="name">
|
||||||
<template #default="scoped">
|
<template #default="scoped">
|
||||||
{{scoped.row.name}}
|
{{scoped.row.name}}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="大小" width="100px">
|
<el-table-column label="大小" width="100px" sortable sort-by="size">
|
||||||
<template #default="scoped">
|
<template #default="scoped">
|
||||||
<span v-if="scoped.row.type === 'FILE'">
|
<span v-if="scoped.row.type === 'FILE'">
|
||||||
{{Util.formatSize(scoped.row.size)}}
|
{{Util.formatSize(scoped.row.size)}}
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="修改时间">
|
<el-table-column label="修改时间" sortable sort-by="lastModify">
|
||||||
<template #default="scoped">
|
<template #default="scoped">
|
||||||
{{Util.formatDate(scoped.row.lastModify)}}
|
{{Util.formatDate(scoped.row.lastModify)}}
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user