fix: 修改 explore 表格不显示的问题

This commit is contained in:
zhangyu
2021-12-27 11:15:29 +08:00
parent e9f17fa1c3
commit 7b4bb68db3
7 changed files with 114 additions and 28 deletions

View File

@@ -0,0 +1,97 @@
const TableData = {
id: 697356,
name: 'Table',
loaded: true,
panelId: 1479,
groupId: 0,
span: 4.0,
height: 3.0,
updateBy: 1,
updateAt: '2021-12-14 03:24:25',
type: 'table',
unit: 2,
weight: 5,
param: {
enable: {
thresholds: true,
legend: true,
valueMapping: true
},
columns: [{
unit: 1,
display: '{{A.$legend}}',
show: true,
title: 'Element'
}, {
unit: 2,
display: '{{A.$value}}',
show: true,
title: 'Value'
}],
indexs: '',
valueMapping: [],
nullType: 'zero',
statistics: 'last'
},
pid: null,
buildIn: 0,
remark: 'This is table',
seq: null,
x: 0.0,
y: 10.0,
elements: [],
sync: null,
panel: {
id: 1479,
name: 'Chart Component Configuration Test',
createBy: null,
type: null,
link: null,
pid: null,
weight: null,
buildIn: null,
seq: null,
children: null,
parent: null,
chartNum: null
},
group: {
id: 0,
name: null,
panelId: null,
groupId: null,
span: null,
height: null,
updateBy: null,
updateAt: null,
type: null,
unit: null,
weight: null,
param: null,
pid: null,
buildIn: null,
remark: null,
seq: null,
x: null,
y: null,
elements: null,
sync: null,
panel: null,
group: null,
children: null,
chartNums: null,
asset: null,
varType: null,
varId: null,
varName: null,
datasource: null
},
children: null,
chartNums: null,
asset: null,
varType: null,
varId: null,
varName: null,
datasource: 'metrics'
}
export default TableData