feat:增加项目授权以及修改新建项目

This commit is contained in:
lixg
2022-11-28 22:47:30 +08:00
parent 032df5bb71
commit 33e9e1bb93
16 changed files with 1135 additions and 665 deletions

View File

@@ -196,7 +196,21 @@ function getCookie(name) {
}
return "";
}
//最后通
//滚动加载信息
const scrollLoad = (e) => {
// console.log("滚动", e, b);
const { target } = e;
const scrllHeight = target.scrollHeight - target.scrollTop;
const clientHeight = target.clientHeight;
// console.log("scrllHeight", scrllHeight, clientHeight);
if (scrllHeight === 0 && clientHeight === 0) {
return 1
} else if (scrllHeight - clientHeight == 0) {
return 2
}
};
//新建延迟
@@ -414,6 +428,7 @@ export {
formatNumber,
setCookie,
getCookie,
scrollLoad,
commonData,
organizationalTree,
iframeUrl,