summaryrefslogtreecommitdiff
path: root/front-end/src/page/farmerApply/index.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'front-end/src/page/farmerApply/index.jsx')
-rw-r--r--front-end/src/page/farmerApply/index.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/front-end/src/page/farmerApply/index.jsx b/front-end/src/page/farmerApply/index.jsx
index 43068e3..46a9a80 100644
--- a/front-end/src/page/farmerApply/index.jsx
+++ b/front-end/src/page/farmerApply/index.jsx
@@ -1,5 +1,5 @@
import React from 'react';
-import {hashHistory} from 'React-router'
+import {hashHistory} from 'react-router'
import './index.css';
import {Link} from 'react-router-dom';
import UserInfoCard from 'component/userinfo-card/index.jsx'
@@ -97,7 +97,7 @@ class FarmerApply extends React.Component {
_user.farmerApply(machineInfo).then((res) => {
// console.dir(res)
alert('add machine success!')
- hashHistory.push('/portal')
+ //hashHistory.push('/portal')
// window.location.href = this.state.redirect;
}, (err) => {
// console.log(err)