From d7a21036ad5553deffffcedc7d9f60065f4886e0 Mon Sep 17 00:00:00 2001 From: zyh Date: Mon, 20 Nov 2023 14:45:06 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-3330=20fix=EF=BC=9Aendpoint=20metric?= =?UTF-8?q?=E4=BA=8C=E7=BA=A7=E9=A1=B5=E9=9D=A2=E5=9B=BE=E8=A1=A8save=20ch?= =?UTF-8?q?art=20legend=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../css/components/common/table/special/endpointQuery.scss | 1 - .../src/components/common/table/special/endpointQueryTab.vue | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/nezha-fronted/src/assets/css/components/common/table/special/endpointQuery.scss b/nezha-fronted/src/assets/css/components/common/table/special/endpointQuery.scss index bf302a5e6..aa6d69015 100644 --- a/nezha-fronted/src/assets/css/components/common/table/special/endpointQuery.scss +++ b/nezha-fronted/src/assets/css/components/common/table/special/endpointQuery.scss @@ -19,7 +19,6 @@ border-radius: 2px 0 0 2px; border-right: none; line-height: 30px; - margin-right: -5px; padding: 0 5px; } .full-width-height{ diff --git a/nezha-fronted/src/components/common/table/special/endpointQueryTab.vue b/nezha-fronted/src/components/common/table/special/endpointQueryTab.vue index 4fa405baa..61105be83 100644 --- a/nezha-fronted/src/components/common/table/special/endpointQueryTab.vue +++ b/nezha-fronted/src/components/common/table/special/endpointQueryTab.vue @@ -371,6 +371,7 @@ export default { }, saveChart (chart) { // 新增chart this.getPanelData().then(() => { + delete chart.oldElements chart.id = '' chart.name = '' chart.panelName = ''