fix: detection列表加上分页、顶部柱状图时区解决;实体列表--ip下拉的地图查询参数修正
This commit is contained in:
@@ -40,8 +40,7 @@ export function getNowTime (interval) {
|
||||
endTime
|
||||
}
|
||||
}
|
||||
//日期格式转换
|
||||
export function rTime(date) {
|
||||
let json_date = new Date(date).toJSON();
|
||||
return new Date(new Date(json_date) + 8 * 3600 * 1000).toISOString().replace(/T/g, ' ').replace(/\.[\d]{3}Z/, '')
|
||||
// 日期格式转换
|
||||
export function rTime (date) {
|
||||
return window.$dayJs.tz(new Date(date)).format('YYYY-MM-DD HH:mm:ss')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user