Skip to content

Commit 14d382c

Browse files
committed
fix: 文章是否修改
1 parent 855e4d5 commit 14d382c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/modules/list/PostItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const PostItem = memo<{ data: PostItemType }>(function PostItem({ data })
2020
<span className=" flex min-w-0 items-center space-x-1 text-sm">
2121
<MdiClockOutline />
2222
{data.createdAt ? dayjs(data.createdAt).format('YYYY 年 M 月 D 日') : '1999 年 9 月 9 日'}
23-
{data.updatedAt && <>&nbsp;&nbsp;(已编辑)</>}
23+
{data.modified && <>&nbsp;&nbsp;(已编辑)</>}
2424
</span>
2525
<span className="flex min-w-0 items-center space-x-1 text-sm">
2626
<FeHash className="translate-y-[0.5px]" />

0 commit comments

Comments
 (0)