From cd594c29a07140764b9f319f79baa65cfc92975c Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期四, 09 三月 2023 16:53:34 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/api/api_index.js | 32 -------------------------------- 1 files changed, 0 insertions(+), 32 deletions(-) diff --git a/src/main/webapp/static/js/api/api_index.js b/src/main/webapp/static/js/api/api_index.js index 19ae70c..e69de29 100644 --- a/src/main/webapp/static/js/api/api_index.js +++ b/src/main/webapp/static/js/api/api_index.js @@ -1,32 +0,0 @@ -layui.config({ - base: baseUrl + "/static/layui/lay/modules/" -}).extend({ - notice: 'notice/notice', -}).use(['index', 'element', 'layer', 'admin', 'notice', 'form'], function () { - var $ = layui.jquery; - var index = layui.index; - var element = layui.element; - var layer = layui.layer; - var admin = layui.admin; - var notice = layui.notice; - var form = layui.form; - - setTimeout(()=>{ - console.log("ok") - admin.changeTheme("theme-white"); - },1000) - - var res = { - code:200, - data: [ - {menu:"涓婚〉",menuCode:"index",menuIcon:"layui-icon-home",menuId:1, - subMenu:[{code:"home/navigation.html",id:40539,level:2,level$:"浜岀骇鑿滃崟", - name:"鎺у埗鍙�",resourceId:1,resourceName:"涓婚〉",sort:0,status:1,status$:"姝e父"}]} - ] - } - var tpl = $('#menuTpl').html(); - var template = Handlebars.compile(tpl); - var html = template(res); - $("#menu-main").html(html); - element.init(); -}) \ No newline at end of file -- Gitblit v1.9.1