diff --git a/src/client/components/autoaction/ActionHistoryViewer.vue b/src/client/components/autoaction/ActionHistoryViewer.vue index 485d676..da2c120 100644 --- a/src/client/components/autoaction/ActionHistoryViewer.vue +++ b/src/client/components/autoaction/ActionHistoryViewer.vue @@ -36,11 +36,15 @@ const columns = [ width: 180, sorter: (a: HistoryItem, b: HistoryItem) => a.timestamp - b.timestamp, render: (row: HistoryItem) => { - return h(NTime, { - time: new Date(row.timestamp), - format: 'yyyy-MM-dd HH:mm:ss' + return h(NTooltip, { + }, { + trigger: () => h(NTime, { + time: row.timestamp, + type: 'relative' + }), + default: () => new Date(row.timestamp).toLocaleString() }); - } + }, }, { title: '操作名称', diff --git a/src/client/components/autoaction/settings/CheckInSettings.vue b/src/client/components/autoaction/settings/CheckInSettings.vue index 64e5383..81215f7 100644 --- a/src/client/components/autoaction/settings/CheckInSettings.vue +++ b/src/client/components/autoaction/settings/CheckInSettings.vue @@ -43,7 +43,10 @@