diff --git a/src/pages/Container/AppMenu/DistributionMenu/index.js b/src/pages/Container/AppMenu/DistributionMenu/index.js index 57707b8..2ef2f9d 100644 --- a/src/pages/Container/AppMenu/DistributionMenu/index.js +++ b/src/pages/Container/AppMenu/DistributionMenu/index.js @@ -81,7 +81,8 @@ const DistributionMenuModalComponent = (props) => { setMenuListTree(menuListTree); const { data } = await props["appMenuGetAlreadyDistributionMenu"]({ roleId: props.info.roleId }); - setCheckedKeys(data.map(item => item.menuId)); + setCheckedKeys(data.checkMenuIdList); + halfCheckedKeys.current = data.halfCheckMenuIdList; }; useEffect(() => {