From ee0f6393db4210435e6015662673a40f626a1b6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Thu, 6 Sep 2018 15:25:21 +0800 Subject: [PATCH] fix icon no find bug --- package.json | 6 +++--- src/pages/User/Login.js | 9 +++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index ff8343ce..0628064e 100644 --- a/package.json +++ b/package.json @@ -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" diff --git a/src/pages/User/Login.js b/src/pages/User/Login.js index 4be60676..6a70f378 100644 --- a/src/pages/User/Login.js +++ b/src/pages/User/Login.js @@ -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 { 登录
其他登录方式 - - - + + + 注册账户 @@ -119,3 +118,5 @@ class LoginPage extends Component { ); } } + +export default LoginPage; -- GitLab