diff --git a/nezha-fronted/src/components/common/table/settings/mibTable.vue b/nezha-fronted/src/components/common/table/settings/mibTable.vue index a773f1a03..c8e3fe541 100644 --- a/nezha-fronted/src/components/common/table/settings/mibTable.vue +++ b/nezha-fronted/src/components/common/table/settings/mibTable.vue @@ -40,8 +40,8 @@ @@ -406,7 +406,7 @@ export default { panelData: [], chartUnit: 0, historyParam: { useHistory: true, key: 'expore-history' }, - chart: {}, + chartData: {}, collapseValue: ['1', '2'], showTab: ['1', '2'], logData: [] @@ -960,7 +960,7 @@ export default { panelName: '', type: 'line', span: 4, - datasource: '1', + datasource: 'metrics', height: 4, unit: 2, param: { @@ -979,7 +979,7 @@ export default { this.expressions.forEach((exp, index) => { chart.elements.push({ expression: exp, legend: '', type: 'expert', id: '', name: 'A' }) }) - this.chart = chart + this.chartData = chart this.rightBox.show = true }, createSuccess (type, response, param, panel) { // 添加chart成功