修复issue160
Project CI / Backend tests (pull_request) Failing after 13s
Project CI / Repository checks (pull_request) Failing after 13s
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled

This commit is contained in:
2026-08-12 13:20:20 +00:00
parent 82957fe1d4
commit 7cbf33de96
5 changed files with 141 additions and 91 deletions
@@ -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 };
}