debug: crossDomain 收集逻辑加精确断点日志
This commit is contained in:
@ -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. 字段权限 (只有当页面可读时才有效)
|
||||
|
||||
Reference in New Issue
Block a user