Commit 3a384238 by lijiabin

【需求 21096】 feat: 列表加入排序功能

parent ec1664a9
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
> >
<el-table-column type="selection" width="55"> </el-table-column> <el-table-column type="selection" width="55"> </el-table-column>
<el-table-column prop="createUserName" label="发布人" width="100" /> <el-table-column prop="createUserName" label="发布人" width="100" />
<el-table-column prop="createdAt" label="发布时间" width="200"> <el-table-column prop="createdAt" label="发布时间" width="200" sortable>
<template #default="{ row }"> <template #default="{ row }">
{{ dayjs(row.createdAt * 1000).format('YYYY-MM-DD HH:mm:ss') }} {{ dayjs(row.createdAt * 1000).format('YYYY-MM-DD HH:mm:ss') }}
</template> </template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment