加个视频数据

This commit is contained in:
海龙 2025-08-13 03:06:46 +08:00
parent 26006bde15
commit 790dd7c125
2 changed files with 3 additions and 1 deletions

View File

@ -175,6 +175,7 @@ export const useRoleShotServiceHook = (projectId: string,selectRole?:RoleEntity)
// 循环调用接口,为每个选中的分镜单独调用
shotSelectionList.forEach(async (shot) => {
try {
(selectedRole as any).shot = shot.videoUrl;
// 调用应用角色到分镜接口(不等待完成)
applyRoleToShots({
project_id: projectId,

View File

@ -422,7 +422,8 @@ export const useShotService = (): UseShotService => {
const containerRect = containerElement.getBoundingClientRect();
const containerWidth = containerRect.width;
const containerHeight = containerRect.height;
console.log('containerWidth', containerWidth);
console.log('containerHeight', containerHeight);
// 计算识别框属性
return matched_persons
.map((person) => {