提一嘴

develop
就眠仪式 2020-09-30 15:11:18 +08:00
parent c4884c2b9b
commit e9424e5cd9
3 changed files with 38 additions and 37 deletions

View File

@ -44,8 +44,7 @@ layui.define(['table', 'jquery', 'element', 'form', 'tab', 'menu', 'frame'],
parseData: false,
change:function(){
compatible();
},
done() {
},done(){
sideMenu.selectItem(param.menu.select);
}
})
@ -136,8 +135,8 @@ layui.define(['table', 'jquery', 'element', 'form', 'tab', 'menu', 'frame'],
this.keepLoad = function(param) {
compatible()
setTimeout(function() {
$(".loader-main").fadeOut(400);
}, 2000)
$(".loader-main").fadeOut(200);
}, param.other.keepLoad)
}
this.themeRender = function(option) {
@ -435,3 +434,4 @@ layui.define(['table', 'jquery', 'element', 'form', 'tab', 'menu', 'frame'],
exports('admin', pearAdmin);
})

View File

@ -70,9 +70,7 @@
layui.use(['admin'], function() {
var admin = layui.admin;
admin.render({
currentUser: "admin"
});
admin.render();
})
</script>
</body>

View File

@ -63,5 +63,8 @@
"title": "问答社区",
"href": "http://forum.pearadmin.com/"
}
]
],
"other": {
"keepLoad": 1200
}
}