parent
475c9aa41f
commit
d06227e349
|
|
@ -148,6 +148,7 @@ layui.define(['table', 'jquery', 'element', 'yaml','form', 'tab', 'menu', 'frame
|
|||
close: true
|
||||
}, 300);
|
||||
compatible();
|
||||
|
||||
})
|
||||
} else {
|
||||
bodyFrame = pearFrame.render({
|
||||
|
|
|
|||
|
|
@ -64,6 +64,13 @@ layui.define(['table', 'jquery', 'element'], function(exports) {
|
|||
if (domsss.text() != '') {
|
||||
data['menuPath'] = domsss.find("span").text() + " / " + data['menuPath'];
|
||||
}
|
||||
if ($("#" + _this.option.elem).is(".pear-nav-mini")) {
|
||||
if(_this.option.accordion){
|
||||
activeMenus = $(this).parent().parent().parent().children("a");
|
||||
}else{
|
||||
activeMenus.push($(this).parent().parent().parent().children("a"));
|
||||
}
|
||||
}
|
||||
clickEvent(dom, data);
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ menu:
|
|||
## 菜单数据来源
|
||||
data: "admin/data/menu.json"
|
||||
## 是否同时只打开一个菜单目录
|
||||
accordion: true
|
||||
accordion: false
|
||||
## 是否开启多系统菜单模式
|
||||
control: false
|
||||
## 默认选中的菜单项
|
||||
|
|
@ -24,7 +24,7 @@ tab:
|
|||
## 切换选项卡时,是否刷新页面状态
|
||||
keepState: true
|
||||
## 是否开启 Tab 记忆
|
||||
session: true
|
||||
session: false
|
||||
## 最大可打开的选项卡数量
|
||||
tabMax: "30"
|
||||
## 默认选项卡数据
|
||||
|
|
|
|||
Loading…
Reference in New Issue