设置子菜单默认不显示,防止左侧导航条抖动
This commit is contained in:
parent
ebe73381be
commit
ede5e1f306
|
@ -1,5 +1,5 @@
|
|||
@model IEnumerable<Menu>
|
||||
<ul class="sub">
|
||||
<ul class="sub" style="display: none;">
|
||||
@foreach (var menu in Model)
|
||||
{
|
||||
@Html.Partial("SubMenu", menu)
|
||||
|
|
Loading…
Reference in New Issue