From 0e6294890c84b7430e66200b6186c39910c1415c Mon Sep 17 00:00:00 2001 From: yueli Date: Fri, 17 Jul 2026 16:20:22 +0800 Subject: [PATCH] =?UTF-8?q?debug:=20crossDomain=20=E6=94=B6=E9=9B=86?= =?UTF-8?q?=E9=80=BB=E8=BE=91=E5=8A=A0=E7=B2=BE=E7=A1=AE=E6=96=AD=E7=82=B9?= =?UTF-8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inventory-web/src/views/system/PermissionConfig.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/inventory-web/src/views/system/PermissionConfig.vue b/inventory-web/src/views/system/PermissionConfig.vue index f60eeeb..6926289 100644 --- a/inventory-web/src/views/system/PermissionConfig.vue +++ b/inventory-web/src/views/system/PermissionConfig.vue @@ -468,8 +468,13 @@ const handleSave = async () => { // 2. 操作权限 (crossDomain 不依赖页面可读) if (row.hasWrite && row.operationCode) { if (row.operationCode === 'crossDomain' || row.hasRead) { + if (row.operationCode === 'crossDomain') { + console.log('[DEBUG crossDomain] hasWrite=true, 将被加入提交列表. row.code=', row.code) + } permissions.push(row.operationCode) } + } else if (row.operationCode === 'crossDomain') { + console.log('[DEBUG crossDomain] hasWrite=', row.hasWrite, ', hasRead=', row.hasRead, ', 不会被加入提交列表') } // 3. 字段权限 (只有当页面可读时才有效)