From 4f379279b0d8d364396596555dd76ac83c8caba3 Mon Sep 17 00:00:00 2001 From: "jlj05024111@163.com" Date: Wed, 29 Oct 2025 20:48:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E8=A1=A8=E5=8D=95=E4=BF=9D=E5=AD=98=E6=90=9C=E7=B4=A2=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E5=90=8E=E6=B8=85=E7=A9=BA=E5=BD=93=E5=89=8D=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E7=9A=84=E4=BF=9D=E5=AD=98=E7=9A=84=E5=90=8D=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + src/control/form/search-form/search-form.tsx | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d4eb7703eac..2e1bf5444fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -87,6 +87,7 @@ ### Fixed +- 修复搜索表单保存搜索条件后未清空当前设置的保存条件名字的问题 - 修复表单直接内容是视频类型时,未配置的参数会覆盖掉默认的参数 - 修复分割容器在统一页面内有多个可交互元素时,分割容器的pointerdown事件被浏览器忽略的问题 - 修复返回顶部按钮在无视图参数时判断异常报错的问题 diff --git a/src/control/form/search-form/search-form.tsx b/src/control/form/search-form/search-form.tsx index d6da246914e..4b548c70856 100644 --- a/src/control/form/search-form/search-form.tsx +++ b/src/control/form/search-form/search-form.tsx @@ -76,6 +76,7 @@ export const SearchFormControl = defineComponent({ // 保存弹窗取消 const onDialogCancel = () => { + saveName.value = ''; showSaveDialog.value = false; showPopover.value = false; }; @@ -83,6 +84,7 @@ export const SearchFormControl = defineComponent({ // 保存弹窗确定 const onDialogConfirm = async () => { await c.storeFilter(saveName.value); + saveName.value = ''; showSaveDialog.value = false; showPopover.value = false; }; -- Gitee