From 9ceb6ddc1d39e6d1f0e9e04aca4f94be5846ce23 Mon Sep 17 00:00:00 2001 From: yueli Date: Tue, 21 Jul 2026 10:19:21 +0800 Subject: [PATCH] =?UTF-8?q?debug:=20=E8=AF=8A=E6=96=AD=E5=87=BA=E5=BA=93?= =?UTF-8?q?=E5=AE=A1=E6=89=B9/=E5=80=9F=E5=BA=93=E5=AE=A1=E6=89=B9?= =?UTF-8?q?=E7=9A=84=20operationCode=20=E6=98=AF=E5=90=A6=E8=A2=AB?= =?UTF-8?q?=E6=AD=A3=E7=A1=AE=E8=AF=86=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inventory-web/src/views/system/PermissionConfig.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/inventory-web/src/views/system/PermissionConfig.vue b/inventory-web/src/views/system/PermissionConfig.vue index d421657..a94152b 100644 --- a/inventory-web/src/views/system/PermissionConfig.vue +++ b/inventory-web/src/views/system/PermissionConfig.vue @@ -391,6 +391,10 @@ const handleClonePermissions = async (sourceRole: string) => { // 递归回显状态 const setRowStatus = (rows: PermissionNode[], perms: Set) => { rows.forEach(row => { + // ★ 诊断 + if (row.code === 'outbound_approval' || row.code === 'op_borrow_approval') { + console.log('[诊断]', row.code, 'opCode=', row.operationCode, 'children=', row.children) + } // 1. 设置可读 (页面Code是否存在) row.hasRead = perms.has(row.code)