mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-21 05:19:42 +08:00
fix: 接口页面里分类下无接口时不显示三角icon
This commit is contained in:
parent
10edeccfe0
commit
56f5f80caf
@ -359,7 +359,7 @@ class InterfaceMenu extends Component {
|
||||
</Dropdown>
|
||||
</div>}
|
||||
key={'cat_' + item._id}
|
||||
className="interface-item-nav"
|
||||
className={`interface-item-nav ${item.list.length?"":"cat_switch_hidden"}`}
|
||||
>
|
||||
{item.list.map(item_interface_create)}
|
||||
|
||||
|
@ -51,6 +51,13 @@
|
||||
background-color: #efefef
|
||||
}
|
||||
.interface-list{
|
||||
.cat_switch_hidden{
|
||||
.ant-tree-switcher{
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
a{
|
||||
color: #333
|
||||
}
|
||||
@ -85,7 +92,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.right-content{
|
||||
margin:3px;
|
||||
min-height: 5rem;
|
||||
|
Loading…
Reference in New Issue
Block a user