浏览代码

Update admin.main.js

遮罩层防止滚动
tags/6.5.6
叙述、别离 3 天前
父节点
当前提交
fc4eafbb11
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. +3
    -1
      src/static/web/js/admin.main.js

+ 3
- 1
src/static/web/js/admin.main.js 查看文件

@@ -118,13 +118,15 @@ function ChangeFullDiv(showhide, screenheigt) {
newobj.id = "fullpagediv";
newobj.style.position = "fixed";
newobj.className = "fullpagediv";
newobj.style.height = document.body.clientHeight + "px";
//newobj.style.height = document.body.clientHeight + "px";
document.body.appendChild(newobj);
} else {
newobj.style.display = "block";
}
document.body.style.overflow = "hidden";
} else {
if (newobj) newobj.style.display = "none";
document.body.style.overflow = "";
}
}
function SelectSource(e) {


正在加载...
取消
保存