NEZ-294 fix: 修复新增chart都加到第一个panel的bug
This commit is contained in:
@@ -597,7 +597,7 @@
|
|||||||
addCharts(params) {
|
addCharts(params) {
|
||||||
let panelId;
|
let panelId;
|
||||||
//先处理panel
|
//先处理panel
|
||||||
if (this.showPanel&&this.showPanel.type) {
|
if (this.showPanel&&this.showPanel.type!="dashboard") {
|
||||||
panelId = this.panelData[0].id;
|
panelId = this.panelData[0].id;
|
||||||
} else {
|
} else {
|
||||||
panelId = this.autocompleteExist(this.panelName2);
|
panelId = this.autocompleteExist(this.panelName2);
|
||||||
|
|||||||
Reference in New Issue
Block a user