保存问题
This commit is contained in:
parent
2adc0ee33a
commit
e31dbd18d8
|
|
@ -5,7 +5,7 @@ import "./index.less"
|
|||
export default class SlideModalTitle extends React.Component {
|
||||
componentWillMount() { // 初始化渲染页面
|
||||
this.state = {
|
||||
editable: ""
|
||||
editable: this.props.editable
|
||||
}
|
||||
}
|
||||
componentWillReceiveProps(nextProps){
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ const Root = () => (
|
|||
<Provider {...allStore}>
|
||||
<Router history={history}>
|
||||
<Route name='root' breadcrumbName='根路由' path='/' component={Home}>
|
||||
<IndexRedirect to='main/ns_demo01/index' />
|
||||
<IndexRedirect to='main/hrmSalary/index' />
|
||||
<Route name='main' breadcrumbName='入口' path='/main' component={Home}>
|
||||
{ Module.Route }
|
||||
</Route>
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ export default class baseFormModal extends React.Component {
|
|||
saveBasic(params).then((id) => {
|
||||
this.props.onCancel()
|
||||
this.props.onRefresh()
|
||||
window.open("/spa/hrmSalary/static/index.html#/main/hrmSalary/calculateDetailz?id=" + id)
|
||||
window.open("/spa/hrmSalary/static/index.html#/main/hrmSalary/calculateDetail?id=" + id)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue