保存问题

This commit is contained in:
MustangDeng 2022-06-16 16:27:15 +08:00
parent 2adc0ee33a
commit e31dbd18d8
3 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ import "./index.less"
export default class SlideModalTitle extends React.Component {
componentWillMount() { // 初始化渲染页面
this.state = {
editable: ""
editable: this.props.editable
}
}
componentWillReceiveProps(nextProps){

View File

@ -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>

View File

@ -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)
})
}