🎬 火宝短剧 - 基于AI的一站式短剧生成平台 《一句话生成完整短剧,从剧本到成片全自动化》 Huobao Drama - An AI-Powered End-to-End Short Drama Generator "One Sentence to Complete Drama: Fully Automated from Script to Final Video"
TypeScript
fix: wrap useAgentAction in reactive for template ref unwrapping
Connor03e616ac23fa
diff --git a/web/src/views/drama/episode/EpisodeWorkbench.vue b/web/src/views/drama/episode/EpisodeWorkbench.vueindex ba03046..def7fe3 100644--- a/web/src/views/drama/episode/EpisodeWorkbench.vue+++ b/web/src/views/drama/episode/EpisodeWorkbench.vue@@ -151,8 +151,8 @@ const videoGen = reactive(wb.videoGen)const agentOpen = ref(false)const agentInitType = ref<AgentType | undefined>(undefined)-// 流水线操作-const agent = useAgentAction()+// 流水线操作(用 reactive 包裹使 refs 在模板中自动 unwrap)+const agent = reactive(useAgentAction())const episodeDbId = computed(() => Number(resource.episode?.id || 0))const progressPct = computed(() => {