From 451a7d45241000bd3de91eb9e2039f8b63967167 Mon Sep 17 00:00:00 2001 From: ccy <55274652@qq.com> Date: Fri, 14 Nov 2025 14:53:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E5=8D=95=E6=9D=83=E9=99=90=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/feui/utils/common.js | 4 ++-- src/utils/common.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/feui/utils/common.js b/src/feui/utils/common.js index c9239e4..0aff521 100644 --- a/src/feui/utils/common.js +++ b/src/feui/utils/common.js @@ -546,8 +546,8 @@ export function permissionUtils (login) { if (login.rolePerm && login.rolePerm.Nav_RolePermForms && login.rolePerm.Nav_RolePermForms.length) { // 只要一个角色有权限就有权限 login.rolePerm.Nav_RolePermForms.forEach((n1, i1) => { if (n1.PermFormId === formId) { - const matchForm = n1.MenuId === currActivatedMenu.ID - if (type == 0 && matchForm) { // 表单权限 + //const matchForm = n1.MenuId === currActivatedMenu.ID + if (type == 0 && true) { // 表单权限 hasPermission = true } else if (type == 1) { // 按钮权限 if (n1.Nav_Btns && n1.Nav_Btns.length) { diff --git a/src/utils/common.js b/src/utils/common.js index 6cba5a7..d074608 100644 --- a/src/utils/common.js +++ b/src/utils/common.js @@ -646,8 +646,8 @@ export function permissionUtils(login) { hasPermission = true } else { if (n1.PermFormId === formId) { - const matchForm = (n1.MenuId === currActivatedMenu.ID || !currActivatedMenu.ID) - if (type == 0 && matchForm) { //表单权限 + //const matchForm = (n1.MenuId === currActivatedMenu.ID || !currActivatedMenu.ID) + if (type == 0 && true) { // hasPermission = true; } else if (type == 1) { //按钮权限 if (n1.Nav_Btns && n1.Nav_Btns.length) {