Tighten FunClip handoff source typing
This commit is contained in:
@@ -9786,7 +9786,7 @@ function FunClipEditingPage({
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
const videoAsset = {
|
const videoAsset = {
|
||||||
type: asset.type,
|
type: 'video' as const,
|
||||||
name: asset.name || '数字人成片',
|
name: asset.name || '数字人成片',
|
||||||
url: asset.url || '',
|
url: asset.url || '',
|
||||||
thumbnailUrl: asset.thumbnailUrl || '',
|
thumbnailUrl: asset.thumbnailUrl || '',
|
||||||
@@ -10437,7 +10437,10 @@ function FunClipEditingPage({
|
|||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (detail.intent === 'digital-human-polish' && match.id.startsWith('handoff-')) {
|
if (
|
||||||
|
detail.intent === 'digital-human-polish' &&
|
||||||
|
match.id.startsWith('handoff-')
|
||||||
|
) {
|
||||||
setRetainedHandoffSource(match);
|
setRetainedHandoffSource(match);
|
||||||
}
|
}
|
||||||
setSelectedSourceId(match.id);
|
setSelectedSourceId(match.id);
|
||||||
|
|||||||
Reference in New Issue
Block a user