fix: 去除特殊列表动态绑定样式,修复Single-value页面 图表展示错误问题

This commit is contained in:
@changcode
2022-01-20 15:50:09 +08:00
parent a6c5ee057d
commit 3d47a5af05
8 changed files with 84 additions and 99 deletions

View File

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