源文件

This commit is contained in:
gyq
2024-05-23 14:39:33 +08:00
commit a1128dd791
2997 changed files with 500069 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
/**
* 权限判断
*
* @author terrfly
* @site https://www.jeequan.com
* @date 2022/11/22 14:29
*/
import storageManage from '@/commons/utils/storageManage.js'
const model = {
// 判断是否包含该权限
has(entId){
let userInfo = storageManage.userInfo()
if(userInfo && userInfo.entIdList && userInfo.entIdList.indexOf(entId) >= 0){
return true;
}
return false;
}
}
export default model