From eafca9ae8548581f0e42880b5c8c4d475f9a9daa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B6=85=E7=BA=A7=E8=80=81=E7=99=BD=E5=85=94?= Date: Thu, 30 Oct 2025 16:44:17 +0800 Subject: [PATCH] Replace custom close button in GlobalPromptModal with Ant Design's CloseOutlined icon for improved consistency and user experience. Simplify the onClose functionality while maintaining existing styles. --- .../list/components/GlobalPromptModal.tsx | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/Cunkebao/src/pages/mobile/workspace/ai-knowledge/list/components/GlobalPromptModal.tsx b/Cunkebao/src/pages/mobile/workspace/ai-knowledge/list/components/GlobalPromptModal.tsx index 3ffa9c37..74541b70 100644 --- a/Cunkebao/src/pages/mobile/workspace/ai-knowledge/list/components/GlobalPromptModal.tsx +++ b/Cunkebao/src/pages/mobile/workspace/ai-knowledge/list/components/GlobalPromptModal.tsx @@ -6,6 +6,7 @@ import { InfoCircleOutlined, ExclamationCircleFilled, InfoCircleFilled, + CloseOutlined, } from "@ant-design/icons"; import { initGlobalPrompt, saveGlobalPrompt } from "../api"; import style from "../index.module.scss"; @@ -103,17 +104,8 @@ const GlobalPromptModal: React.FC = ({ /> 统一提示词配置 - - × - + +