feature/2.9.42310.01-薪资项目拓扑图
This commit is contained in:
parent
042a962a2f
commit
722e0b39db
|
|
@ -87,7 +87,9 @@ const Index: React.FC = () => {
|
|||
defaultExpandHolderColor: "rgba(0, 206, 209, 1)",
|
||||
defaultNodeColor: "transparent",
|
||||
defaultNodeBorderColor: "#333",
|
||||
allowShowMiniToolBar: false //工具栏展示与否
|
||||
allowShowMiniToolBar: false, //工具栏展示与否
|
||||
disableZoom: true,
|
||||
disableDragNode: true,
|
||||
};
|
||||
}, []);
|
||||
const onNodeRightClick = (e: RGUserEvent & { pageX: number, pageY: number }, objectType: RGEventTargetType, object: RGNode | RGLink | undefined) => {
|
||||
|
|
@ -135,7 +137,7 @@ const Index: React.FC = () => {
|
|||
<div className={styles["c-node-menu-item"]} onClick={() => handleNodeOpt("ADD")}>{i18n["添加薪资项目"]}</div>
|
||||
}
|
||||
{
|
||||
!_.isNil(menuXY.data.formulaId) && menuXY.data.formulaId !== 0 &&
|
||||
!_.isNil(menuXY.data.formulaId) && menuXY.data.formulaId !== 0 && menuXY.data.canEditItem &&
|
||||
<div className={styles["c-node-menu-item"]} onClick={() => handleNodeOpt("EDIT")}>{i18n["编辑公式"]}</div>
|
||||
}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue