就眠仪式 2020-10-14 00:28:09 +08:00
commit 16e34a0039
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ layui.define(['table', 'jquery', 'element', 'form', 'tab', 'menu', 'frame'],
this.menuRender = function(param) {
sideMenu = pearMenu.render({
elem: 'sideMenu',
async: true,
async: param.menu.async != undefined ? param.menu.async : true,
theme: "dark-theme",
height: '100%',
control: param.menu.control ? 'control' : false, // control

View File

@ -13,7 +13,7 @@ layui.define(['table', 'jquery', 'element'], function(exports) {
//默认配置值
var option = {
elem: opt.elem,
async: opt.async ? opt.async : false,
async: opt.async,
parseData: opt.parseData,
url: opt.url,
defaultOpen: opt.defaultOpen,