debug: crossDomain 收集逻辑加精确断点日志

This commit is contained in:
yueli
2026-07-17 16:20:22 +08:00
parent c45e7b5a52
commit 0e6294890c

View File

@ -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. 字段权限 (只有当页面可读时才有效)