logo使用cdn

This commit is contained in:
whyour 2021-04-19 18:18:24 +08:00
parent 596f03315c
commit 86874c0ee2
2 changed files with 6 additions and 4 deletions

View File

@ -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;

View File

@ -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 = () => {
<div className={styles.content}>
<div className={styles.top}>
<div className={styles.header}>
<img alt="logo" className={styles.logo} src={logo} />
<img
alt="logo"
className={styles.logo}
src="https://image.whyour.cn/others/qinglong.png"
/>
<span className={styles.title}>{config.siteName}</span>
</div>
</div>