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') } /** 清空条件后返回首批,不改变后端数据。 */