forked from github/dataease
fix(仪表板): 修复仪表板详情报错
This commit is contained in:
parent
0f63c8bcac
commit
eee11b465b
@ -29,7 +29,7 @@ const timestampFormatDate = value => {
|
||||
if (!value) {
|
||||
return '-'
|
||||
}
|
||||
return new Date(value)['format']()
|
||||
return new Date(value).toLocaleString()
|
||||
}
|
||||
const valueText = (field, val, options) => {
|
||||
for (let index = 0; index < options.length; index++) {
|
||||
|
@ -27,7 +27,7 @@ const timestampFormatDate = value => {
|
||||
if (!value) {
|
||||
return '-'
|
||||
}
|
||||
return new Date(value)['format']()
|
||||
return new Date(value).toLocaleString()
|
||||
}
|
||||
</script>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user