选择子菜单时,多级菜单项确实会保持展开状态
Multi level menu item does stay expanded when a sub menu is selected
我有一个 ASP 样板项目,我想使用多级菜单,但是当子菜单 selected 和页面完全加载时,顶部菜单必须保持展开但它会折叠。Menu bar must look like this not this 当我 select 租户时(管理菜单必须保持展开状态)。
已在模板 v4.0 中修复。
You can add the following code in admin.js after line var $activeAnchors = $(val).find('a:eq(0)');
var $parentAnchors = $(val).parentsUntil('.menu .list', 'li').children('a:first-child');
$activeAnchors = $activeAnchors.add($parentAnchors);
我有一个 ASP 样板项目,我想使用多级菜单,但是当子菜单 selected 和页面完全加载时,顶部菜单必须保持展开但它会折叠。Menu bar must look like this not this 当我 select 租户时(管理菜单必须保持展开状态)。
已在模板 v4.0 中修复。
You can add the following code in admin.js after line
var $activeAnchors = $(val).find('a:eq(0)');
var $parentAnchors = $(val).parentsUntil('.menu .list', 'li').children('a:first-child'); $activeAnchors = $activeAnchors.add($parentAnchors);