Commit 939b123b authored by 邓晓峰's avatar 邓晓峰

fix: 修复子系统无法切换

parent 06b476a4
Pipeline #46837 passed with stages
in 2 minutes 29 seconds
......@@ -276,7 +276,10 @@ const BasicLayout = props => {
setSelectIndex(-1);
setCurrentRoutes( newRoutes)
}
}, [props.route]);
}, [props.route, props.currentMenuIndex]);
// let currentRoutes = props.route.routes.filter(item => !item.hideInMenu)[props.currentMenuIndex];
......
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