fix(short-drama-agent-front): 修复首帧当前质量展示
This commit is contained in:
1 parent
13efe5b786
commit
8674ba0c83
18 files changed
+679
-137
No files matched your search
@@ -101,6 +101,8 @@ export function sourceMock(status = 'passed') {
|
||||
else if (path.endsWith('/vision/preview')) data = sourcePlan
|
||||
else if (path.endsWith('/vision/authorizations')) data = { authorizationId: 'auth', plan: sourcePlan }
|
||||
else if (path.endsWith('/source-reviews/r')) data = record
|
||||
else if (path.includes('/quality-review'))
|
||||
data = { shotId: 's', keyframeId: 'k', effectiveQualityStatus: 'stale', manualReviewAvailable: false }
|
||||
else if (path.includes('/validations')) data = []
|
||||
else return new Response(JSON.stringify({ error: { message: '未模拟请求' } }), { status: 404 })
|
||||
return new Response(JSON.stringify({ data }))
|
||||
|
||||
Reference in new issue
Block a user