NEZ-3330 fix:endpoint metric二级页面图表save chart legend异常

This commit is contained in:
zyh
2023-11-20 14:45:06 +08:00
parent e712f42c12
commit d7a21036ad
2 changed files with 1 additions and 1 deletions

View File

@@ -19,7 +19,6 @@
border-radius: 2px 0 0 2px; border-radius: 2px 0 0 2px;
border-right: none; border-right: none;
line-height: 30px; line-height: 30px;
margin-right: -5px;
padding: 0 5px; padding: 0 5px;
} }
.full-width-height{ .full-width-height{

View File

@@ -371,6 +371,7 @@ export default {
}, },
saveChart (chart) { // 新增chart saveChart (chart) { // 新增chart
this.getPanelData().then(() => { this.getPanelData().then(() => {
delete chart.oldElements
chart.id = '' chart.id = ''
chart.name = '' chart.name = ''
chart.panelName = '' chart.panelName = ''