mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
feat:增加项目授权以及修改新建项目
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user