style: playground output tips

This commit is contained in:
jialin
2024-07-15 11:17:42 +08:00
parent a834d79b7d
commit 21e151ac28
6 changed files with 30 additions and 8 deletions
@@ -121,9 +121,7 @@ const InstanceItem: React.FC<InstanceItemProps> = ({
</Col>
<Col span={5}>
<span style={{ paddingLeft: 38 }}>
{dayjs(item.created_at)
.local()
.format('YYYY-MM-DD HH:mm:ss')}
{dayjs(item.created_at).format('YYYY-MM-DD HH:mm:ss')}
</span>
</Col>
<Col span={4}>
+1 -2
View File
@@ -378,8 +378,7 @@ const Models: React.FC<ModelsProps> = ({
showSorterTooltip={false}
sorter={true}
render={(text, row) => {
console.log('val=time===', text, row.name, row, row.created_at);
return dayjs(text).local().format('YYYY-MM-DD HH:mm:ss');
return dayjs(text).format('YYYY-MM-DD HH:mm:ss');
}}
/>
<SealColumn