From 48190535c4f659c3a1cbc9f6c0e777b605616878 Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 8 Apr 2026 10:40:44 +0800 Subject: [PATCH] feat: set global form variant to filled style (#11650) Co-authored-by: Claude Opus 4.6 --- config/config.ts | 1 + src/app.tsx | 6 +++--- src/pages/user/login/__snapshots__/login.test.tsx.snap | 8 ++++---- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/config/config.ts b/config/config.ts index 808f4785..50fc1af0 100644 --- a/config/config.ts +++ b/config/config.ts @@ -117,6 +117,7 @@ export default defineConfig({ antd: { appConfig: {}, configProvider: { + variant: 'filled', theme: { token: { fontFamily: 'AlibabaSans, sans-serif', diff --git a/src/app.tsx b/src/app.tsx index 227d8be6..fbff83f3 100644 --- a/src/app.tsx +++ b/src/app.tsx @@ -76,9 +76,9 @@ export const layout: RunTimeLayoutConfig = ({ {avatarChildren} ), }, - waterMarkProps: { - content: initialState?.currentUser?.name, - }, + // waterMarkProps: { + // content: initialState?.currentUser?.name, + // }, footerRender: () =>