fix 路径图修改发布时间

This commit is contained in:
BOE\10867418
2023-04-18 15:31:30 +08:00
parent db97911c09
commit 2c2bbda7ab

View File

@@ -79,17 +79,17 @@
}"
>
<template #bodyCell="{ column, record }">
<template v-if="column.key === 'createTime'">
<template v-if="column.key === 'publishTime'">
<a-tooltip placement="topRight">
<template #title>
<span>{{
record.createTime &&
dayjs(record.createTime).format("YYYY-MM-DD HH:mm:ss")
record.publishTime &&
dayjs(record.publishTime).format("YYYY-MM-DD HH:mm:ss")
}}</span>
</template>
<span>{{
record.createTime &&
dayjs(record.createTime).format("YYYY-MM-DD HH:mm:ss")
record.publishTime &&
dayjs(record.publishTime).format("YYYY-MM-DD HH:mm:ss")
}}</span>
</a-tooltip>
</template>
@@ -243,9 +243,9 @@ export default {
},
{
title: "发布时间",
dataIndex: "createTime",
dataIndex: "publishTime",
ellipsis: true,
key: "createTime",
key: "publishTime",
align: "center",
width: 120,
},