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