From e31dbd18d82ca75173c0326afa9d93cec4aab0a0 Mon Sep 17 00:00:00 2001 From: MustangDeng <670124965@qq.com> Date: Thu, 16 Jun 2022 16:27:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E5=AD=98=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/hrmSalary/components/slideModalTitle/index.js | 2 +- pc4mobx/hrmSalary/debug.js | 2 +- pc4mobx/hrmSalary/pages/calculate/baseFormModal.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pc4mobx/hrmSalary/components/slideModalTitle/index.js b/pc4mobx/hrmSalary/components/slideModalTitle/index.js index 946b61ec..c4b6f7dd 100644 --- a/pc4mobx/hrmSalary/components/slideModalTitle/index.js +++ b/pc4mobx/hrmSalary/components/slideModalTitle/index.js @@ -5,7 +5,7 @@ import "./index.less" export default class SlideModalTitle extends React.Component { componentWillMount() { // 初始化渲染页面 this.state = { - editable: "" + editable: this.props.editable } } componentWillReceiveProps(nextProps){ diff --git a/pc4mobx/hrmSalary/debug.js b/pc4mobx/hrmSalary/debug.js index be660017..dbadd8b2 100644 --- a/pc4mobx/hrmSalary/debug.js +++ b/pc4mobx/hrmSalary/debug.js @@ -34,7 +34,7 @@ const Root = () => ( - + { Module.Route } diff --git a/pc4mobx/hrmSalary/pages/calculate/baseFormModal.js b/pc4mobx/hrmSalary/pages/calculate/baseFormModal.js index 4a04f93d..1deacd94 100644 --- a/pc4mobx/hrmSalary/pages/calculate/baseFormModal.js +++ b/pc4mobx/hrmSalary/pages/calculate/baseFormModal.js @@ -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) }) }