diff --git a/packages/editor/src/layouts/history-list/Bucket.vue b/packages/editor/src/layouts/history-list/Bucket.vue
index 82de021f..1062587f 100644
--- a/packages/editor/src/layouts/history-list/Bucket.vue
+++ b/packages/editor/src/layouts/history-list/Bucket.vue
@@ -15,6 +15,8 @@
:merged="group.steps.length > 1"
:op-type="group.opType"
:desc="describeGroup(group)"
+ :time="formatHistoryTime(groupTimestamp(group))"
+ :time-title="formatHistoryFullTime(groupTimestamp(group))"
:step-count="group.steps.length"
:sub-steps="
group.steps.map((s: any) => ({
@@ -24,6 +26,8 @@
desc: describeStep(s.step),
diffable: isStepDiffable ? isStepDiffable(s.step) : false,
revertable: s.applied,
+ time: formatHistoryTime(s.step.timestamp),
+ timeTitle: formatHistoryFullTime(s.step.timestamp),
}))
"
:is-current="group.isCurrent"
@@ -54,6 +58,7 @@ import { computed } from 'vue';
import type { HistoryOpType } from '@editor/type';
+import { formatHistoryFullTime, formatHistoryTime, groupTimestamp } from './composables';
import GroupRow from './GroupRow.vue';
import InitialRow from './InitialRow.vue';
diff --git a/packages/editor/src/layouts/history-list/GroupRow.vue b/packages/editor/src/layouts/history-list/GroupRow.vue
index a021f2fa..0275f6d1 100644
--- a/packages/editor/src/layouts/history-list/GroupRow.vue
+++ b/packages/editor/src/layouts/history-list/GroupRow.vue
@@ -13,6 +13,8 @@
{{ opLabel(opType) }}
{{ desc }}
+ {{ time }}
+
合并 {{ stepCount }} 步
#{{ s.index + 1 }}
{{ s.desc }}
+ {{ s.time }}