fix: template

This commit is contained in:
root
2025-07-12 23:39:57 +08:00
parent 10c802a96b
commit 8047701388
4 changed files with 14 additions and 7 deletions

View File

@@ -252,7 +252,8 @@ class TemplateManager:
duration=draft_content.get('duration', 0),
material_count=len(materials),
track_count=len(draft_content.get('tracks', [])),
tags=[]
tags=[],
draft_content=draft_content # 设置 draft_content
)
# Save to metadata