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 = () => {