forked from 77media/video-flow
加个视频数据
This commit is contained in:
parent
26006bde15
commit
790dd7c125
@ -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,
|
||||
|
||||
@ -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) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user