diff --git a/nezha-fronted/src/components/common/table/alert/alertMessageTable.vue b/nezha-fronted/src/components/common/table/alert/alertMessageTable.vue index 6c064d6b5..432e7c195 100644 --- a/nezha-fronted/src/components/common/table/alert/alertMessageTable.vue +++ b/nezha-fronted/src/components/common/table/alert/alertMessageTable.vue @@ -259,12 +259,12 @@ export default { return function (record) { // 当 state = active | silence 时,duration = 当前服务器时间(result.time)- startAt if (record.state == 1 || record.state == 2) { - return calcDurationByStringTimeB(record.startAt, this.nowTime) + return calcDurationByStringTimeB(record.startAt, this.timezoneToUtcTimeStr(this.nowTime)) } if (record.endAt) { return calcDurationByStringTimeB(record.startAt, record.endAt) } - return calcDurationByStringTimeB(record.startAt, this.nowTime) + return calcDurationByStringTimeB(record.startAt, this.timezoneToUtcTimeStr(this.nowTime)) } } },