summaryrefslogtreecommitdiff
path: root/front-end/src/page/farmerApply/index.jsx
diff options
context:
space:
mode:
authorMark Wong2019-05-29 17:18:00 +0000
committerMark Wong2019-05-29 17:18:00 +0000
commitcc41d3dba7d11cdd589a83f1284c0a47b444b7f6 (patch)
treeff6c6799cd550c74f4159b91dd8e3ea56da6f9a2 /front-end/src/page/farmerApply/index.jsx
parentcf7a951b9580e6839464194547efe28757741e98 (diff)
parent9f7c200c61ae0d8c44155404d21fb7f286ace32b (diff)
Merge branch 'master' of github.com:PGPerfFarm/pgperffarmHEADmaster
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)