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
+5 -2
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>