更改UTC时标展示,解决js精度损失的问题
This commit is contained in:
parent
58cb11fa2d
commit
ed9ef19805
@ -81,7 +81,7 @@ export const querySchema = computed(() => [
|
||||
export const tableSchema: any = computed((): VxeGridProps['columns'] => [
|
||||
{ title: $t('common.seq'), type: 'seq', width: 50, slots: {} },
|
||||
{
|
||||
field: 'timestamps',
|
||||
field: 'timestampStr',
|
||||
title: $t('abp.IoTDBBase.Timestamps'),
|
||||
minWidth: 150,
|
||||
slots: {},
|
||||
|
||||
@ -38,7 +38,7 @@ const FIXED_FIELDS = [
|
||||
'DeviceType',
|
||||
'IoTDataType',
|
||||
'DeviceAddress',
|
||||
'Timestamps',
|
||||
'TimestampStr',
|
||||
'FormattedTimestamps',
|
||||
'DeviceAddress',
|
||||
];
|
||||
|
||||
@ -81,7 +81,7 @@ export const querySchema = computed(() => [
|
||||
export const tableSchema: any = computed((): VxeGridProps['columns'] => [
|
||||
{ title: $t('common.seq'), type: 'seq', width: 50, slots: {} },
|
||||
{
|
||||
field: 'timestamps',
|
||||
field: 'timestampStr',
|
||||
title: $t('abp.IoTDBBase.Timestamps'),
|
||||
minWidth: '150',
|
||||
slots: {},
|
||||
|
||||
@ -26,6 +26,12 @@ export const querySchema = computed(() => [
|
||||
|
||||
export const tableSchema: any = computed((): VxeGridProps['columns'] => [
|
||||
{ title: $t('common.seq'), type: 'seq', width: 50 },
|
||||
{
|
||||
field: 'timestampStr',
|
||||
title: $t('abp.IoTDBBase.Timestamps'),
|
||||
minWidth: 150,
|
||||
slots: {},
|
||||
},
|
||||
{
|
||||
field: 'formattedTimestamps',
|
||||
title: $t('abp.IoTDBBase.FormattedTimestamps'),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user