Commit ee0f6393 authored by 陈帅's avatar 陈帅

fix icon no find bug

parent 354f4da7
...@@ -53,8 +53,6 @@ ...@@ -53,8 +53,6 @@
"react-router-dom": "^4.3.1" "react-router-dom": "^4.3.1"
}, },
"devDependencies": { "devDependencies": {
"umi": "^2.0.1",
"umi-plugin-react": "^1.0.1",
"@types/react": "^16.4.11", "@types/react": "^16.4.11",
"@types/react-dom": "^16.0.6", "@types/react-dom": "^16.0.6",
"antd-pro-merge-less": "^0.0.9", "antd-pro-merge-less": "^0.0.9",
...@@ -80,7 +78,9 @@ ...@@ -80,7 +78,9 @@
"pro-download": "^1.0.1", "pro-download": "^1.0.1",
"stylelint": "^9.4.0", "stylelint": "^9.4.0",
"stylelint-config-prettier": "^4.0.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": { "optionalDependencies": {
"puppeteer": "^1.6.0" "puppeteer": "^1.6.0"
......
...@@ -7,7 +7,6 @@ import styles from './Login.less'; ...@@ -7,7 +7,6 @@ import styles from './Login.less';
const { Tab, UserName, Password, Mobile, Captcha, Submit } = Login; const { Tab, UserName, Password, Mobile, Captcha, Submit } = Login;
export default
@connect(({ login, loading }) => ({ @connect(({ login, loading }) => ({
login, login,
submitting: loading.effects['login/login'], submitting: loading.effects['login/login'],
...@@ -107,9 +106,9 @@ class LoginPage extends Component { ...@@ -107,9 +106,9 @@ class LoginPage extends Component {
<Submit loading={submitting}>登录</Submit> <Submit loading={submitting}>登录</Submit>
<div className={styles.other}> <div className={styles.other}>
其他登录方式 其他登录方式
<Icon className={styles.icon} type="alipay-circle" /> <Icon type="alipay-circle" className={styles.icon} theme="outlined" />
<Icon className={styles.icon} type="taobao-circle" /> <Icon type="taobao-circle" className={styles.icon} theme="outlined" />
<Icon className={styles.icon} type="weibo-circle" /> <Icon type="weibo-circle" className={styles.icon} theme="outlined" />
<Link className={styles.register} to="/User/Register"> <Link className={styles.register} to="/User/Register">
注册账户 注册账户
</Link> </Link>
...@@ -119,3 +118,5 @@ class LoginPage extends Component { ...@@ -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