From fee1af6b81ec8d668831c7a2a57adc5994213bd5 Mon Sep 17 00:00:00 2001 From: Kevin Law Date: Sat, 26 Aug 2023 15:40:01 +0800 Subject: [PATCH] fix: fix wrong pro-layout props. (#10836) * fix: fix wrong pro-layout props. * tests(login): update test snapshot --- src/app.tsx | 2 +- .../Login/__snapshots__/login.test.tsx.snap | 1337 ++++++++--------- 2 files changed, 655 insertions(+), 684 deletions(-) diff --git a/src/app.tsx b/src/app.tsx index 0de32b493a..22fd9a9e30 100644 --- a/src/app.tsx +++ b/src/app.tsx @@ -69,7 +69,7 @@ export const layout: RunTimeLayoutConfig = ({ initialState, setInitialState }) = history.push(loginPath); } }, - layoutBgImgList: [ + bgLayoutImgList: [ { src: 'https://mdn.alipayobjects.com/yuyan_qk0oxh/afts/img/D2LWSqNny4sAAAAAAAAAAAAAFl94AQBr', left: 85, diff --git a/src/pages/User/Login/__snapshots__/login.test.tsx.snap b/src/pages/User/Login/__snapshots__/login.test.tsx.snap index 327971ed3d..451a78277a 100644 --- a/src/pages/User/Login/__snapshots__/login.test.tsx.snap +++ b/src/pages/User/Login/__snapshots__/login.test.tsx.snap @@ -3,110 +3,215 @@ exports[`Login Page should login success 1`] = `
+ + + + + +
+
-
-
+ + +
+
+
+
+
+
+
+
+
+
+
+ + - Search Table + + + + + -
-
- - - - - +
+
-
- -
-
-
-
-
-
-
-
-
-
+ + - - - -
- -
- - - - - - Serati Ma - -
+
-
-
+ + + Forgot Password ? + +
+ + + +
+
+
+
`; @@ -633,148 +609,180 @@ exports[`Login Page should show login form 1`] = ` class="ant-pro-form-login-main " style="width: 328px; min-width: 280px; max-width: 75vw;" > -
-