You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

282 B

隐藏侧边栏

js

//  首先把侧栏隐藏掉
BI.Plugin.registerObject("dec.menu", function (widget) {
    widget.element.hide();
});
//  然后再把body的left值设为0
BI.Plugin.registerObject("dec.body", function (widget) {
    widget.element.css("left", 0);
});