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 @@