mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
feat: 优化代码
This commit is contained in:
parent
9b01341983
commit
c9a91eab5a
@ -365,8 +365,7 @@ export default class App extends React.Component<AppProps, object> {
|
||||
if (
|
||||
!subHeader &&
|
||||
link.children &&
|
||||
link.children.filter((item: {visible: boolean}) => item?.visible)
|
||||
.length
|
||||
link.children.some((item: {visible: boolean}) => item?.visible)
|
||||
) {
|
||||
children.push(
|
||||
<span
|
||||
|
Loading…
Reference in New Issue
Block a user