From 6a7fdff1089f4c82c56b091af75fb47725055ab3 Mon Sep 17 00:00:00 2001 From: Gaojianli <823805669hehe@gmail.com> Date: Sat, 16 Nov 2024 23:53:45 +0800 Subject: [PATCH 1/8] =?UTF-8?q?=E5=8F=AA=E8=AF=BB=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E9=9A=90=E8=97=8F=E5=8F=96=E6=B6=88=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/script/components/detailDrawer.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/webui/src/views/settings/components/script/components/detailDrawer.vue b/webui/src/views/settings/components/script/components/detailDrawer.vue index 3f400431e..90efcb16b 100644 --- a/webui/src/views/settings/components/script/components/detailDrawer.vue +++ b/webui/src/views/settings/components/script/components/detailDrawer.vue @@ -3,8 +3,9 @@ :width="800" :visible="visible" unmount-on-close - :hide-cancel="!isNew" + :hide-cancel="viewOnly" @cancel="handleCancel" + @before-ok="handleOk" >