更改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'] => [
|
export const tableSchema: any = computed((): VxeGridProps['columns'] => [
|
||||||
{ title: $t('common.seq'), type: 'seq', width: 50, slots: {} },
|
{ title: $t('common.seq'), type: 'seq', width: 50, slots: {} },
|
||||||
{
|
{
|
||||||
field: 'timestamps',
|
field: 'timestampStr',
|
||||||
title: $t('abp.IoTDBBase.Timestamps'),
|
title: $t('abp.IoTDBBase.Timestamps'),
|
||||||
minWidth: 150,
|
minWidth: 150,
|
||||||
slots: {},
|
slots: {},
|
||||||
|
|||||||
@ -38,7 +38,7 @@ const FIXED_FIELDS = [
|
|||||||
'DeviceType',
|
'DeviceType',
|
||||||
'IoTDataType',
|
'IoTDataType',
|
||||||
'DeviceAddress',
|
'DeviceAddress',
|
||||||
'Timestamps',
|
'TimestampStr',
|
||||||
'FormattedTimestamps',
|
'FormattedTimestamps',
|
||||||
'DeviceAddress',
|
'DeviceAddress',
|
||||||
];
|
];
|
||||||
|
|||||||
@ -81,7 +81,7 @@ export const querySchema = computed(() => [
|
|||||||
export const tableSchema: any = computed((): VxeGridProps['columns'] => [
|
export const tableSchema: any = computed((): VxeGridProps['columns'] => [
|
||||||
{ title: $t('common.seq'), type: 'seq', width: 50, slots: {} },
|
{ title: $t('common.seq'), type: 'seq', width: 50, slots: {} },
|
||||||
{
|
{
|
||||||
field: 'timestamps',
|
field: 'timestampStr',
|
||||||
title: $t('abp.IoTDBBase.Timestamps'),
|
title: $t('abp.IoTDBBase.Timestamps'),
|
||||||
minWidth: '150',
|
minWidth: '150',
|
||||||
slots: {},
|
slots: {},
|
||||||
|
|||||||
@ -26,6 +26,12 @@ export const querySchema = computed(() => [
|
|||||||
|
|
||||||
export const tableSchema: any = computed((): VxeGridProps['columns'] => [
|
export const tableSchema: any = computed((): VxeGridProps['columns'] => [
|
||||||
{ title: $t('common.seq'), type: 'seq', width: 50 },
|
{ title: $t('common.seq'), type: 'seq', width: 50 },
|
||||||
|
{
|
||||||
|
field: 'timestampStr',
|
||||||
|
title: $t('abp.IoTDBBase.Timestamps'),
|
||||||
|
minWidth: 150,
|
||||||
|
slots: {},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
field: 'formattedTimestamps',
|
field: 'formattedTimestamps',
|
||||||
title: $t('abp.IoTDBBase.FormattedTimestamps'),
|
title: $t('abp.IoTDBBase.FormattedTimestamps'),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user