From 2304c65013cb56738d2ff097f5afd9585ec80584 Mon Sep 17 00:00:00 2001 From: GouJ Date: Sat, 26 Sep 2026 20:10:57 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=BB=BA=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=20Create=20Drama=20=E6=89=A7=E8=A1=8C?= =?UTF-8?q?=E5=8F=A5=E6=9F=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/features/projects/ProjectsPage.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/features/projects/ProjectsPage.vue b/src/features/projects/ProjectsPage.vue index 87704b1..a45c6d7 100644 --- a/src/features/projects/ProjectsPage.vue +++ b/src/features/projects/ProjectsPage.vue @@ -126,7 +126,10 @@ const columns: DataTableColumns = [ } ] /** 创建回执只用于跳转,生成进度以后端查询为准。 */ -function openProject(id: string) { +function openProject(id: string, executionId: string) { + if (typeof localStorage !== 'undefined' && executionId) { + localStorage.setItem(`short-drama:workflow-execution:${id}:create-drama`, executionId) + } void router.push('/projects/' + encodeURIComponent(id) + '/create-drama') } /** 清空条件后返回首批,不改变后端数据。 */