Browse Source

调整一下登陆页布局 & 取消footer

fanmiyou
nili 6 months ago
parent
commit
85960dd63d
  1. 27
      dist/635.09454aea.async.js
  2. 27
      dist/89.36b38ea1.async.js
  3. 2
      dist/index.html
  4. 1
      dist/p__User__Login__index.76a0af0b.async.js
  5. 1
      dist/p__User__Login__index.88487dcd.async.js
  6. 2
      dist/t__plugin-layout__Layout.2a198db8.async.js
  7. 433
      dist/umi.213997c9.js
  8. 433
      dist/umi.b0b0060c.js
  9. 2
      src/app.tsx
  10. 5
      src/pages/User/Login/index.tsx

27
dist/635.09454aea.async.js

File diff suppressed because one or more lines are too long

27
dist/89.36b38ea1.async.js

File diff suppressed because one or more lines are too long

2
dist/index.html

@ -9,6 +9,6 @@
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>
<script src="/umi.213997c9.js"></script> <script src="/umi.b0b0060c.js"></script>
</body></html> </body></html>

1
dist/p__User__Login__index.76a0af0b.async.js

File diff suppressed because one or more lines are too long

1
dist/p__User__Login__index.88487dcd.async.js

File diff suppressed because one or more lines are too long

2
dist/t__plugin-layout__Layout.34225d11.async.js → dist/t__plugin-layout__Layout.2a198db8.async.js

File diff suppressed because one or more lines are too long

433
dist/umi.213997c9.js

File diff suppressed because one or more lines are too long

433
dist/umi.b0b0060c.js

File diff suppressed because one or more lines are too long

2
src/app.tsx

@ -63,7 +63,7 @@ export const layout: RunTimeLayoutConfig = ({ initialState, setInitialState }) =
// waterMarkProps: { // waterMarkProps: {
// content: initialState?.currentUser?.name, // content: initialState?.currentUser?.name,
// }, // },
footerRender: () => <Footer />, // footerRender: () => <Footer />,
onPageChange: () => { onPageChange: () => {
const { location } = history; const { location } = history;
// 如果没有登录,重定向到 login // 如果没有登录,重定向到 login

5
src/pages/User/Login/index.tsx

@ -115,6 +115,9 @@ const Login: React.FC = () => {
style={{ style={{
flex: '1', flex: '1',
padding: '32px 0', padding: '32px 0',
position:'absolute',
left: '10vw',
bottom: '10vh'
}} }}
> >
<LoginForm <LoginForm
@ -206,7 +209,7 @@ const Login: React.FC = () => {
</div> </div>
</LoginForm> </LoginForm>
</div> </div>
<Footer /> {/* <Footer /> */}
</div> </div>
); );
}; };

Loading…
Cancel
Save