feat: 新增 切换 datasource 以及 type 清空部分不需要的参数
This commit is contained in:
@@ -191,22 +191,16 @@ export default {
|
||||
id: '',
|
||||
name: '',
|
||||
type: 'line',
|
||||
span: 12,
|
||||
span: 4,
|
||||
datasource: '1',
|
||||
height: 4,
|
||||
unit: 2,
|
||||
param: {
|
||||
url: '',
|
||||
threshold: '',
|
||||
stack: 0,
|
||||
nullType: 'null',
|
||||
legend: { placement: 'bottom', values: [], show: true },
|
||||
thresholdShow: true,
|
||||
thresholds: [{ value: '', color: '#eeeeeeff' }],
|
||||
valueMapping: {
|
||||
show: true,
|
||||
mapping: []
|
||||
}
|
||||
thresholds: [{ value: '', color: '#eeeeeeff' }]
|
||||
},
|
||||
elements: [{ expression: '', legend: '', type: 'expert', id: '', name: 'A' }],
|
||||
panel: '',
|
||||
|
||||
Reference in New Issue
Block a user