diff --git a/mes/src/main/resources/static/js/layuimodule/sp/spLayui.js b/mes/src/main/resources/static/js/layuimodule/sp/spLayui.js index 0d3a99b..2f23dc7 100644 --- a/mes/src/main/resources/static/js/layuimodule/sp/spLayui.js +++ b/mes/src/main/resources/static/js/layuimodule/sp/spLayui.js @@ -49,7 +49,7 @@ layui.define(["element", "jquery"], function (exports) { spLayui.initHome(data.data.homeInfo); spLayui.initLogo(data.data.logoInfo); spLayui.initClear(data.data.clearInfo); - spLayui.initMenu(data.data.menuInfo,false); + spLayui.initMenu(data.data.menuInfo, false); spLayui.initTab(); } }).fail(function () { @@ -124,7 +124,7 @@ layui.define(["element", "jquery"], function (exports) { * 初始化菜单栏 * @param data */ - this.initMenu = function (data,booleanNav) { + this.initMenu = function (data, booleanNav) { var headerMenuHtml = '', headerMobileMenuHtml = '', leftMenuHtml = '', @@ -137,12 +137,9 @@ layui.define(["element", "jquery"], function (exports) { leftMenuHtml += '