Skip to content

Commit f3a6a6e

Browse files
authored
📦 Update antd version & remove deprecated attribute
📦 Update antd version & remove deprecated attribute
2 parents 7ca3790 + ed8478b commit f3a6a6e

File tree

9 files changed

+8
-8
lines changed

9 files changed

+8
-8
lines changed

doc/docs/zh/contributing.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ git checkout -b 您的分支名
153153
| 工程优化 | 🔨 | 工程工具更新、配置调整 |
154154
| 文档更新 | 📝 | 只改动文档内容 |
155155
| 添加测试用例 | 🧪 | 添加测试用例或修改测试用例 |
156+
| 依赖更新 | 📦 | 更新依赖版本,移除废弃API,清理过时用法 |
156157

157158
示例提交消息:
158159
```bash

frontend/app/[locale]/agents/components/agentConfig/McpConfigModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ export default function McpConfigModal({
597597
onCancel={actionsLocked ? undefined : onCancel}
598598
width={1200}
599599
closable={!actionsLocked}
600-
maskClosable={!actionsLocked}
600+
mask={{ closable: !actionsLocked }}
601601
footer={[
602602
<Button key="cancel" onClick={onCancel} disabled={actionsLocked}>
603603
{actionsLocked

frontend/app/[locale]/agents/components/agentConfig/tool/ToolConfigModal.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1285,7 +1285,6 @@ export default function ToolConfigModal({
12851285
<>
12861286
<Modal
12871287
mask={true}
1288-
maskClosable={false}
12891288
title={
12901289
<div className="flex justify-between items-center w-full pr-8">
12911290
<span>{`${tool?.name}`}</span>

frontend/app/[locale]/tenant-resources/components/resources/AgentList.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,6 @@ export default function AgentList({ tenantId }: { tenantId: string | null }) {
452452
</Button>
453453
]}
454454
width={700}
455-
maskClosable={false}
456455
>
457456
<Spin spinning={isLoadingDetail}>
458457
<Form form={form} layout="vertical">

frontend/app/[locale]/tenant-resources/components/resources/InvitationList.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,6 @@ export default function InvitationList({ tenantId, refreshKey }: { tenantId: str
425425
okText={t("common.confirm")}
426426
cancelText={t("common.cancel")}
427427
width={600}
428-
maskClosable={false}
429428
>
430429
<Form form={form} layout="vertical">
431430
{!editingInvitation && (

frontend/components/auth/AuthDialogs.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ export function AuthDialogs() {
4141
centered
4242
closable
4343
width={480}
44-
maskClosable={false}
4544
>
4645
<div className="relative bg-white p-4 rounded-2xl">
4746
{/* Logo */}

frontend/components/auth/loginModal.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@ export function LoginModal() {
177177
width={420}
178178
centered
179179
forceRender
180-
maskClosable={false}
181180
closable={true}
182181
>
183182
<div className="relative bg-white p-4 rounded-2xl">

frontend/components/providers/rootProvider.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,11 @@ function AppReadyWrapper({ children }: { children?: ReactNode }) {
5050
*/
5151
export function RootProvider({ children }: { children: ReactNode }) {
5252
return (
53-
<ConfigProvider getPopupContainer={() => document.body}>
53+
<ConfigProvider
54+
getPopupContainer={() => document.body}
55+
modal={{ mask: { closable: false } }}
56+
drawer={{ mask: { closable: false } }}
57+
>
5458
<QueryClientProvider client={queryClient}>
5559
<App>
5660
<AuthenticationProvider>

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@dicebear/icons": "^9.2.2",
2020
"@radix-ui/react-scroll-area": "^1.2.2",
2121
"@tanstack/react-query": "^5.90.12",
22-
"antd": "^6.1.3",
22+
"antd": "^6.3.0",
2323
"antd-style": "^4.1.0",
2424
"autoprefixer": "^10.4.20",
2525
"bootstrap-icons": "^1.11.3",

0 commit comments

Comments
 (0)