diff --git a/ui/src/views/function-lib/component/FunctionFormDrawer.vue b/ui/src/views/function-lib/component/FunctionFormDrawer.vue index 02dbed862..aa98b1f8b 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 29905135a..9c579c980 100644 --- a/ui/src/views/function-lib/index.vue +++ b/ui/src/views/function-lib/index.vue @@ -49,7 +49,7 @@