feat: 标题/内容变化的ui

This commit is contained in:
Tim
2025-09-08 13:46:22 +08:00
parent bb4e866bd0
commit 567452f570
2 changed files with 43 additions and 9 deletions

View File

@@ -134,7 +134,7 @@
:post-closed="closed"
@deleted="onCommentDeleted"
/>
<PostChangeLogItem v-else :log="item" />
<PostChangeLogItem v-else :log="item" :title="title" />
</template>
</BaseTimeline>
</div>
@@ -377,6 +377,14 @@ const mapChangeLog = (l) => ({
newClosed: l.newClosed,
newPinnedAt: l.newPinnedAt,
newFeatured: l.newFeatured,
oldContent: l.oldContent,
newContent: l.newContent,
oldTitle: l.oldTitle,
newTitle: l.newTitle,
oldCategory: l.oldCategory,
newCategory: l.newCategory,
oldTags: l.oldTags,
newTags: l.newTags,
icon: changeLogIcon(l),
})