Merge branch 'release/2.19.1.2501.01' into release/3.0.1.2504.01-合并业务线
This commit is contained in:
commit
dc80b9c0b7
|
|
@ -43,7 +43,7 @@ class EditSalaryCalcSlide extends Component {
|
|||
});
|
||||
};
|
||||
renderTitle = () => {
|
||||
const { loading } = this.state, { viewAttr } = this.props;
|
||||
const { loading, itemsByGroup } = this.state, { viewAttr } = this.props;
|
||||
return <div className="titleDialog">
|
||||
<div className="titleCol titleLeftBox">
|
||||
<div className="titleIcon"><i className="icon-coms-fa"/></div>
|
||||
|
|
@ -52,7 +52,7 @@ class EditSalaryCalcSlide extends Component {
|
|||
<div className="titleCol titleRightBox">
|
||||
{
|
||||
viewAttr === 2 &&
|
||||
<Button type="primary" onClick={this.save} loading={loading}>{getLabel(537558, "保存")}</Button>
|
||||
<Button type="primary" disabled={_.isEmpty(itemsByGroup)} onClick={this.save} loading={loading}>{getLabel(537558, "保存")}</Button>
|
||||
}
|
||||
</div>
|
||||
</div>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue