From a2510d6763e884a69770f0d8c7c0d95c0f8537ae Mon Sep 17 00:00:00 2001 From: whyour Date: Thu, 18 Mar 2021 20:11:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9A=97=E9=BB=91=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E5=85=BC=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .umirc.ts | 3 +++ src/layouts/defaultProps.tsx | 2 -- src/pages/password/index.tsx | 21 +++++++++++++++++---- 3 files changed, 20 insertions(+), 6 deletions(-) diff --git a/.umirc.ts b/.umirc.ts index 4554415e..5b83493d 100644 --- a/.umirc.ts +++ b/.umirc.ts @@ -7,6 +7,9 @@ import { } from '@ant-design/icons'; export default defineConfig({ + antd: { + compact: true, + }, hash: true, layout: false, locale: {}, diff --git a/src/layouts/defaultProps.tsx b/src/layouts/defaultProps.tsx index 33fd285f..4d78513a 100644 --- a/src/layouts/defaultProps.tsx +++ b/src/layouts/defaultProps.tsx @@ -73,8 +73,6 @@ export default { pathname: '/', }, fixSiderbar: true, - navTheme: 'light', - primaryColor: '#1890ff', contentWidth: 'Fixed', splitMenus: false, logo: logo, diff --git a/src/pages/password/index.tsx b/src/pages/password/index.tsx index 08c39107..9b200972 100644 --- a/src/pages/password/index.tsx +++ b/src/pages/password/index.tsx @@ -66,11 +66,24 @@ const Password = () => { height: '100vh', }} > -
- - + + + - +