diff --git a/app/service/Interaction/RoleShotService.ts b/app/service/Interaction/RoleShotService.ts index fdc4d33..9572c1d 100644 --- a/app/service/Interaction/RoleShotService.ts +++ b/app/service/Interaction/RoleShotService.ts @@ -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, diff --git a/app/service/Interaction/ShotService.ts b/app/service/Interaction/ShotService.ts index b0e7c4d..eab9935 100644 --- a/app/service/Interaction/ShotService.ts +++ b/app/service/Interaction/ShotService.ts @@ -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) => {