diff --git a/nezha-fronted/src/components/common/js/tools.js b/nezha-fronted/src/components/common/js/tools.js index a9c2d7f53..c2913b7cd 100644 --- a/nezha-fronted/src/components/common/js/tools.js +++ b/nezha-fronted/src/components/common/js/tools.js @@ -287,7 +287,7 @@ export function stringTimeParseToUnix (stringTime) { offset = moment.tz(offset).format('Z') offset = Number.parseInt(offset) const localOffset = new Date().getTimezoneOffset() * 60 * 1000 * -1 // 默认 一分钟显示时区偏移的结果 - console.log(offset,localOffset, time) + // console.log(offset,localOffset, time) time = time + localOffset - offset * 60 * 60 * 1000 return time / 1000 } diff --git a/nezha-fronted/src/components/page/alert/alertMessage.vue b/nezha-fronted/src/components/page/alert/alertMessage.vue index 3663a2672..b095f59df 100644 --- a/nezha-fronted/src/components/page/alert/alertMessage.vue +++ b/nezha-fronted/src/components/page/alert/alertMessage.vue @@ -14,7 +14,7 @@ >