Commit ee0f6393 authored by 陈帅's avatar 陈帅

fix icon no find bug

parent 354f4da7
......@@ -53,8 +53,6 @@
"react-router-dom": "^4.3.1"
},
"devDependencies": {
"umi": "^2.0.1",
"umi-plugin-react": "^1.0.1",
"@types/react": "^16.4.11",
"@types/react-dom": "^16.0.6",
"antd-pro-merge-less": "^0.0.9",
......@@ -80,7 +78,9 @@
"pro-download": "^1.0.1",
"stylelint": "^9.4.0",
"stylelint-config-prettier": "^4.0.0",
"stylelint-config-standard": "^18.0.0"
"stylelint-config-standard": "^18.0.0",
"umi": "^2.0.1",
"umi-plugin-react": "^1.0.1"
},
"optionalDependencies": {
"puppeteer": "^1.6.0"
......
......@@ -7,7 +7,6 @@ import styles from './Login.less';
const { Tab, UserName, Password, Mobile, Captcha, Submit } = Login;
export default
@connect(({ login, loading }) => ({
login,
submitting: loading.effects['login/login'],
......@@ -107,9 +106,9 @@ class LoginPage extends Component {
<Submit loading={submitting}>登录</Submit>
<div className={styles.other}>
其他登录方式
<Icon className={styles.icon} type="alipay-circle" />
<Icon className={styles.icon} type="taobao-circle" />
<Icon className={styles.icon} type="weibo-circle" />
<Icon type="alipay-circle" className={styles.icon} theme="outlined" />
<Icon type="taobao-circle" className={styles.icon} theme="outlined" />
<Icon type="weibo-circle" className={styles.icon} theme="outlined" />
<Link className={styles.register} to="/User/Register">
注册账户
</Link>
......@@ -119,3 +118,5 @@ class LoginPage extends Component {
);
}
}
export default LoginPage;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment