mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:58:05 +08:00
feat: App多页应用组件侧边导航栏箭头显示优化
This commit is contained in:
parent
1e5f4942c8
commit
9b01341983
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user