NEZ-598 alert message 页面修改

This commit is contained in:
songjingcheng
2021-05-08 12:45:23 +08:00
parent 9b93f5f437
commit 6ea0507f84
2 changed files with 19 additions and 59 deletions

View File

@@ -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
}