Commit b63e79fb authored by 前端-许佳敏's avatar 前端-许佳敏

fix: 修复角色管理中父子组件不关联

parent d33f998e
......@@ -220,6 +220,7 @@ const TabTree: React.FC<TabTreeProps> = props => {
handleCheck,
customExpandkeys,
enableSearch = false,
checkStrictly = false
} = props;
const selfActions = useTreeActions(actions)
......@@ -352,6 +353,7 @@ const TabTree: React.FC<TabTreeProps> = props => {
checkedKeys={selected}
expandedKeys={expandkeys}
autoExpandParent={autoExpandParent}
checkStrictly={checkStrictly}
onExpand={onExpand}
onCheck={(keys, nodes) => {
const { node, checked, checkedNodes } = nodes;
......
......@@ -210,6 +210,7 @@ const MemberDetail: React.FC<{}> = () => {
actions={treeActions}
treeData={treeData}
handleSelect={handleSelect}
checkStrictly={true}
customKey='id'
disabled={pageStatus === PageStatus.PREVIEW}
/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment