|
|
@@ -14,15 +14,15 @@ class Manage extends Component {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- // componentWillMount() {
|
|
|
- // let {location} = this.props
|
|
|
- // if (location && location.state) {
|
|
|
- // this.props.history.replace({
|
|
|
- // pathname: '/my/manage/' + location.state.page,
|
|
|
- // state: {}
|
|
|
- // })
|
|
|
- // }
|
|
|
- // }
|
|
|
+ componentWillMount() {
|
|
|
+ let {location} = this.props
|
|
|
+ if (location && location.state) {
|
|
|
+ this.props.history.replace({
|
|
|
+ pathname: '/my/manage/' + location.state.page,
|
|
|
+ state: {}
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
render() {
|
|
|
return (
|