forked from 77media/video-flow
替换角色弹窗 立马执行关闭
This commit is contained in:
parent
ed1d1ac132
commit
83e264f5e2
@ -166,6 +166,7 @@ CharacterTabContentProps
|
|||||||
console.log('Selected shots:', selectedShots);
|
console.log('Selected shots:', selectedShots);
|
||||||
console.log('Add to library:', addToLibrary);
|
console.log('Add to library:', addToLibrary);
|
||||||
setIsReplacePanelOpen(false);
|
setIsReplacePanelOpen(false);
|
||||||
|
onClose();
|
||||||
await applyRoleToSelectedShots(selectedRole || {} as RoleEntity);
|
await applyRoleToSelectedShots(selectedRole || {} as RoleEntity);
|
||||||
if(addToLibrary){
|
if(addToLibrary){
|
||||||
await saveRoleToLibrary();
|
await saveRoleToLibrary();
|
||||||
@ -468,3 +469,5 @@ CharacterTabContentProps
|
|||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
CharacterTabContent.displayName = 'CharacterTabContent';
|
||||||
Loading…
x
Reference in New Issue
Block a user