From 293302e5ec0e186931bb4cb64d5a75a11475dcbd Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Thu, 22 Aug 2024 18:35:24 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E6=96=B0=E5=BB=BA?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E5=BA=93=E5=85=B3=E9=97=AD=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/views/function-lib/component/FunctionFormDrawer.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/views/function-lib/component/FunctionFormDrawer.vue b/ui/src/views/function-lib/component/FunctionFormDrawer.vue index dd79eb96e..4d39e6034 100644 --- a/ui/src/views/function-lib/component/FunctionFormDrawer.vue +++ b/ui/src/views/function-lib/component/FunctionFormDrawer.vue @@ -193,7 +193,7 @@ function submitDialog() { } function close() { - if (!areAllValuesNonEmpty(form.value)) { + if (isEdit.value || !areAllValuesNonEmpty(form.value)) { visible.value = false } else { MsgConfirm(`提示`, `当前的更改尚未保存,确认退出吗?`, {