设置子菜单默认不显示,防止左侧导航条抖动

This commit is contained in:
Argo-Lenovo 2016-12-24 23:15:43 +08:00
parent ebe73381be
commit ede5e1f306
1 changed files with 1 additions and 1 deletions

View File

@ -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)