From 86874c0ee27db8aab0f732d8357a6d1d60c8a5d4 Mon Sep 17 00:00:00 2001 From: whyour Date: Mon, 19 Apr 2021 18:18:24 +0800 Subject: [PATCH] =?UTF-8?q?logo=E4=BD=BF=E7=94=A8cdn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/defaultProps.tsx | 3 +-- src/pages/login/index.tsx | 7 +++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/layouts/defaultProps.tsx b/src/layouts/defaultProps.tsx index 59b44c58..a498c170 100644 --- a/src/layouts/defaultProps.tsx +++ b/src/layouts/defaultProps.tsx @@ -8,7 +8,6 @@ import { RadiusSettingOutlined, ControlOutlined, } from '@ant-design/icons'; -import logo from '@/assets/logo.png'; export default { route: { @@ -70,5 +69,5 @@ export default { fixSiderbar: true, contentWidth: 'Fixed', splitMenus: false, - logo: logo, + logo: 'https://image.whyour.cn/others/qinglong.png', } as any; diff --git a/src/pages/login/index.tsx b/src/pages/login/index.tsx index c8d0ee4d..7e655142 100644 --- a/src/pages/login/index.tsx +++ b/src/pages/login/index.tsx @@ -4,7 +4,6 @@ import config from '@/utils/config'; import { history, Link } from 'umi'; import styles from './index.less'; import { request } from '@/utils/http'; -import logo from '@/assets/logo.png'; const FormItem = Form.Item; @@ -48,7 +47,11 @@ const Login = () => {
- logo + logo {config.siteName}