|
@@ -98,9 +98,13 @@
|
|
|
var prefix = ctx + "system/user";
|
|
|
|
|
|
$(function() {
|
|
|
- $('body').layout({ west__size: 185 });
|
|
|
- queryUserList();
|
|
|
- queryDeptTree();
|
|
|
+ var panehHidden = false;
|
|
|
+ if ($(this).width() < 769) {
|
|
|
+ panehHidden = true;
|
|
|
+ }
|
|
|
+ $('body').layout({ initClosed: panehHidden, west__size: 185 });
|
|
|
+ queryUserList();
|
|
|
+ queryDeptTree();
|
|
|
});
|
|
|
|
|
|
function queryUserList() {
|