From 9d5ea64e5e87b492584ce7c830571e520a30daed Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Thu, 15 Aug 2024 19:00:56 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=87=BD=E6=95=B0=E5=BA=93=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=A4=8D=E5=88=B6=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../function-lib/component/FunctionFormDrawer.vue | 2 +- ui/src/views/function-lib/index.vue | 15 +++++++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/ui/src/views/function-lib/component/FunctionFormDrawer.vue b/ui/src/views/function-lib/component/FunctionFormDrawer.vue index 02dbed862f..aa98b1f8b3 100644 --- a/ui/src/views/function-lib/component/FunctionFormDrawer.vue +++ b/ui/src/views/function-lib/component/FunctionFormDrawer.vue @@ -141,7 +141,7 @@ const form = ref({ watch(visible, (bool) => { if (!bool) { isEdit.value = false - showEditor.value = true + showEditor.value = false currentIndex.value = null form.value = { name: '', diff --git a/ui/src/views/function-lib/index.vue b/ui/src/views/function-lib/index.vue index 29905135a8..9c579c9800 100644 --- a/ui/src/views/function-lib/index.vue +++ b/ui/src/views/function-lib/index.vue @@ -49,7 +49,7 @@