hotfix/2.9.42310.02
This commit is contained in:
parent
7d09c5b55b
commit
32e01016c1
|
|
@ -226,8 +226,7 @@ export default class SalaryItem extends React.Component {
|
|||
|
||||
const menu = (
|
||||
<Menu onClick={handleMenuClick}>
|
||||
<Menu.Item key="1">系统薪资项</Menu.Item>
|
||||
<Menu.Item key="2">自定义薪资项</Menu.Item>
|
||||
<Menu.Item key="2">{getLabel(111, "新增自定义薪资项")}</Menu.Item>
|
||||
</Menu>
|
||||
|
||||
);
|
||||
|
|
@ -236,7 +235,8 @@ export default class SalaryItem extends React.Component {
|
|||
return (<div style={{ display: "inline-block" }}>
|
||||
{
|
||||
(showOperateBtn || showSalaryItemBtn) &&
|
||||
<Dropdown.Button overlay={menu} type="primary" style={{ marginRight: "10px" }}>新增</Dropdown.Button>
|
||||
<Dropdown.Button overlay={menu} type="primary" onClick={() => handleMenuClick({ key: "1" })}
|
||||
style={{ marginRight: "10px" }}>{getLabel(111, "新增系统薪资项")}</Dropdown.Button>
|
||||
}
|
||||
{
|
||||
(showOperateBtn || showSalaryItemBtn) &&
|
||||
|
|
|
|||
Loading…
Reference in New Issue