mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 13:56:45 +08:00
修改页面显示
This commit is contained in:
@@ -57,7 +57,9 @@ export function checkOwner(per) {
|
||||
export function checkMenu(path = "") {
|
||||
return store?.state?.menus.some(t => path.split(",").some(s => "/" + s === t));
|
||||
}
|
||||
|
||||
export function checkOrgs(){
|
||||
return store?.state?.userInfoOrgs.length > 0
|
||||
}
|
||||
export function deepClone(obj) {
|
||||
let result = typeof obj.splice === "function" ? [] : {};
|
||||
if (obj && typeof obj === "object") {
|
||||
|
||||
Reference in New Issue
Block a user