From c6b113fc8cd8474909fe19df79f169b351755ec0 Mon Sep 17 00:00:00 2001 From: zyh Date: Fri, 1 Jul 2022 15:52:39 +0800 Subject: [PATCH] =?UTF-8?q?perf=EF=BC=9A=E5=A4=8D=E5=88=B6=E5=8F=98?= =?UTF-8?q?=E9=87=8F=E4=B8=8D=E7=BB=A7=E6=89=BF=E6=8A=98=E5=8F=A0=E7=8A=B6?= =?UTF-8?q?=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/common/rightBox/panelBox.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nezha-fronted/src/components/common/rightBox/panelBox.vue b/nezha-fronted/src/components/common/rightBox/panelBox.vue index 2f7c14ccb..04a08e6f1 100644 --- a/nezha-fronted/src/components/common/rightBox/panelBox.vue +++ b/nezha-fronted/src/components/common/rightBox/panelBox.vue @@ -457,9 +457,10 @@ export default { copyVariable (item) { const temp = JSON.parse(JSON.stringify(item)) temp.name = temp.name ? temp.name + '_copy' : '' + temp.collapse = false this.editPanel.param.variables.push(temp) }, - // 删除复制变量 + // 删除变量 removeVariable (index) { this.editPanel.param.variables.splice(index, 1) },