更换使用adminlte皮肤
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
define(['jquery'], function($){
|
||||
var Backend = {
|
||||
init: function(){
|
||||
if($('.editable').length > 0){
|
||||
// require(['editable'], function(){
|
||||
// $('.editable').editable();
|
||||
// })
|
||||
}
|
||||
},
|
||||
setBodySize: function(){
|
||||
var height = $(window).height();
|
||||
if ($('#content-wrapper').height() < height) {
|
||||
$('#content-wrapper').height($(window).height()-120);
|
||||
}
|
||||
$(window).resize(function(){
|
||||
Backend.setBodySize();
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Backend.setBodySize();
|
||||
Backend.init(); //默认初始化执行的代码
|
||||
return Backend;
|
||||
})
|
||||
Reference in New Issue
Block a user