feat(*): 短剧创作工作台 - 完善章节分镜、资产管理、技能运行与生成任务恢复

This commit is contained in:
ddCat
2026-08-29 23:34:46 +08:00
parent 4f07daae9e
commit 2f6832f99c
113 changed files with 7016 additions and 723 deletions

View File

@@ -116,9 +116,9 @@ export function CanvasNodeContextMenu({
}, [categoryOpen, onClose]);
useEffect(() => {
setAddOpen(false);
setAddOpen(menu.type === "canvas" && Boolean(menu.createOpen));
setCategoryOpen(false);
}, [menu.type, menu.x, menu.y]);
}, [menu]);
const runAction = (action: () => void) => {
action();