修复issue160
This commit is contained in:
@@ -369,6 +369,17 @@ export function inspectPerfectPixelProjectSnapshot(
|
||||
message: '完美像素占位已收口,但权威项目缺少对应任务资源。',
|
||||
};
|
||||
}
|
||||
if (
|
||||
resource.projectId !== project.projectId ||
|
||||
!resource.objectKey?.trim() ||
|
||||
!resource.imageSrc.trim()
|
||||
) {
|
||||
return {
|
||||
kind: 'conflict',
|
||||
project,
|
||||
message: '完美像素任务资源记录不完整或不属于当前项目,无法自动确认结果。',
|
||||
};
|
||||
}
|
||||
if (!dialog) {
|
||||
return { kind: 'dialog-missing', project, resource };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user