fix: 去除特殊列表动态绑定样式,修复Single-value页面 图表展示错误问题
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { hasButton } from '@/permission'
|
||||
import {getMillisecond} from "@/utils/date-util";
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
@@ -51,8 +52,8 @@ export default {
|
||||
utcTimeToLocalhost (str) { // 系统设置的时区 到 utc 0
|
||||
return str
|
||||
},
|
||||
parseMsDate (ms, format = 'YYYY-MM-DD HH:mm:ss') {
|
||||
return this.dayJs.tz(parseFloat(ms)).format(format)
|
||||
parseMsDate (time, format = 'YYYY-MM-DD HH:mm:ss') {
|
||||
return this.dayJs.tz(getMillisecond(time)).format(format)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user