diff --git a/package.json b/package.json
index ff8343ce921f9761f742f330e00bd579f154ccfb..0628064ead6f1c7f3dff486c3b5ac5688f7d5858 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 4be606768493174dbecd5812ad1720e63674f239..6a70f3780b3c8fe3763dc5627e0b4bf2e52cf831 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 {