feat: App多页应用组件侧边导航栏箭头显示优化

This commit is contained in:
findreamer 2023-11-02 16:47:56 +08:00
parent 1e5f4942c8
commit 9b01341983

View File

@ -362,7 +362,12 @@ export default class App extends React.Component<AppProps, object> {
return null;
}
if (!subHeader && link.children && link.children.length) {
if (
!subHeader &&
link.children &&
link.children.filter((item: {visible: boolean}) => item?.visible)
.length
) {
children.push(
<span
key="expand-toggle"