develop
parent
7826b88659
commit
8374fcfd01
|
|
@ -51,7 +51,7 @@ layui.define(['table', 'jquery', 'element', 'form', 'pearAuth', 'pearTab', 'pear
|
||||||
this.menuRender = function(option) {
|
this.menuRender = function(option) {
|
||||||
sideMenu = pearMenu.render({
|
sideMenu = pearMenu.render({
|
||||||
elem: 'sideMenu', //依赖容器
|
elem: 'sideMenu', //依赖容器
|
||||||
async: option.async, //数据形式
|
async: true, //数据形式
|
||||||
theme: option.theme,
|
theme: option.theme,
|
||||||
height: '100%',
|
height: '100%',
|
||||||
control: option.control ? 'control' : false, // control
|
control: option.control ? 'control' : false, // control
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,6 @@
|
||||||
theme: "dark-theme", // 默 认 主 题 样 式 dark-theme 默认主题 light-theme 亮主题
|
theme: "dark-theme", // 默 认 主 题 样 式 dark-theme 默认主题 light-theme 亮主题
|
||||||
index: 'view/console/console1.html', // 默 认 加 载 主 页
|
index: 'view/console/console1.html', // 默 认 加 载 主 页
|
||||||
data: 'admin/data/menu.json', // 菜 单 数 据 加 载 地 址
|
data: 'admin/data/menu.json', // 菜 单 数 据 加 载 地 址
|
||||||
async: true,//加 载 菜 单 数 据
|
|
||||||
select: '0', // 默 认 选 中 菜 单 项
|
select: '0', // 默 认 选 中 菜 单 项
|
||||||
notice: 'admin/data/notice.json', // 消 息 列 表 数 据
|
notice: 'admin/data/notice.json', // 消 息 列 表 数 据
|
||||||
auth: 'admin/data/permission.json' // 前端权限限制,false 关闭该功能
|
auth: 'admin/data/permission.json' // 前端权限限制,false 关闭该功能
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue