Browse Source
feat: set global form variant to filled style (#11650)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
claude/understanding-codebase-structure
afc163
6 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
8 additions and
7 deletions
-
config/config.ts
-
src/app.tsx
-
src/pages/user/login/__snapshots__/login.test.tsx.snap
|
|
|
@ -117,6 +117,7 @@ export default defineConfig({ |
|
|
|
antd: { |
|
|
|
appConfig: {}, |
|
|
|
configProvider: { |
|
|
|
variant: 'filled', |
|
|
|
theme: { |
|
|
|
token: { |
|
|
|
fontFamily: 'AlibabaSans, sans-serif', |
|
|
|
|
|
|
|
@ -76,9 +76,9 @@ export const layout: RunTimeLayoutConfig = ({ |
|
|
|
<AvatarDropdown>{avatarChildren}</AvatarDropdown> |
|
|
|
), |
|
|
|
}, |
|
|
|
waterMarkProps: { |
|
|
|
content: initialState?.currentUser?.name, |
|
|
|
}, |
|
|
|
// waterMarkProps: {
|
|
|
|
// content: initialState?.currentUser?.name,
|
|
|
|
// },
|
|
|
|
footerRender: () => <Footer />, |
|
|
|
onPageChange: () => { |
|
|
|
const { location } = history; |
|
|
|
|
|
|
|
@ -201,7 +201,7 @@ exports[`Login Page should login success 1`] = ` |
|
|
|
class="ant-form-item-control-input-content" |
|
|
|
> |
|
|
|
<span |
|
|
|
class="ant-input-affix-wrapper ant-input-affix-wrapper-lg ant-input-outlined ant-input-status-success css-var-_r_9_ ant-input-css-var" |
|
|
|
class="ant-input-affix-wrapper ant-input-affix-wrapper-lg ant-input-filled ant-input-status-success css-var-_r_9_ ant-input-css-var" |
|
|
|
> |
|
|
|
<span |
|
|
|
class="ant-input-prefix" |
|
|
|
@ -285,7 +285,7 @@ exports[`Login Page should login success 1`] = ` |
|
|
|
class="ant-form-item-control-input-content" |
|
|
|
> |
|
|
|
<span |
|
|
|
class="ant-input-affix-wrapper ant-input-affix-wrapper-lg ant-input-outlined ant-input-status-success ant-input-password ant-input-password-large css-var-_r_9_ ant-input-css-var" |
|
|
|
class="ant-input-affix-wrapper ant-input-affix-wrapper-lg ant-input-filled ant-input-status-success ant-input-password ant-input-password-large css-var-_r_9_ ant-input-css-var" |
|
|
|
> |
|
|
|
<span |
|
|
|
class="ant-input-prefix" |
|
|
|
@ -744,7 +744,7 @@ exports[`Login Page should show login form 1`] = ` |
|
|
|
class="ant-form-item-control-input-content" |
|
|
|
> |
|
|
|
<span |
|
|
|
class="ant-input-affix-wrapper ant-input-affix-wrapper-lg ant-input-outlined css-var-_r_0_ ant-input-css-var" |
|
|
|
class="ant-input-affix-wrapper ant-input-affix-wrapper-lg ant-input-filled css-var-_r_0_ ant-input-css-var" |
|
|
|
> |
|
|
|
<span |
|
|
|
class="ant-input-prefix" |
|
|
|
@ -828,7 +828,7 @@ exports[`Login Page should show login form 1`] = ` |
|
|
|
class="ant-form-item-control-input-content" |
|
|
|
> |
|
|
|
<span |
|
|
|
class="ant-input-affix-wrapper ant-input-affix-wrapper-lg ant-input-outlined ant-input-password ant-input-password-large css-var-_r_0_ ant-input-css-var" |
|
|
|
class="ant-input-affix-wrapper ant-input-affix-wrapper-lg ant-input-filled ant-input-password ant-input-password-large css-var-_r_0_ ant-input-css-var" |
|
|
|
> |
|
|
|
<span |
|
|
|
class="ant-input-prefix" |
|
|
|
|