diff --git a/CHANGELOG.md b/CHANGELOG.md index d4eb7703eacfc7b3b07ba70b59e2dc77525f0750..2e1bf5444fa6024bada34f54351f4438bee166fe 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 d6da246914ee9b58e2a01a25756b47e357f0e237..4b548c70856ba4c7745ad79c91fc6be9ed21738a 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; };