diff --git a/src/features/projects/ProjectLayout.vue b/src/features/projects/ProjectLayout.vue index 8ad8d9d..78c25af 100644 --- a/src/features/projects/ProjectLayout.vue +++ b/src/features/projects/ProjectLayout.vue @@ -16,6 +16,7 @@ import { projectGenerationRevisionKey } from '../generation-config/context' import WorkflowExecutionPanel from '../workflows/WorkflowExecutionPanel.vue' import CreateDramaSkeleton from '../create-drama/CreateDramaSkeleton.vue' import BreakdownSkeleton from '../breakdown/BreakdownSkeleton.vue' +import VisualStyleSkeleton from '../visual-style/VisualStyleSkeleton.vue' /** 项目标题只保留名称;下游工作区在剧本完成前不挂载,直接链接也无法越过限制。 */ const route = useRoute() @@ -103,14 +104,8 @@ const currentAccess = computed(() => { return section ? stageAccess.sections.value[section] : null }) const isCreation = computed(() => currentSection.value === 'create-drama') -/** 剧本首次读取或切换项目时显示骨架;刷新已有项目时保留正文与阅读位置。 */ -const isCreationInitialLoading = computed( - () => isCreation.value && context.loading.value && context.project.value?.id !== id.value -) -/** 拆解页只在首次读取或切换项目时占位,刷新已有结果时保留内容与分类。 */ -const isBreakdownInitialLoading = computed( - () => currentSection.value === 'breakdown' && context.loading.value && context.project.value?.id !== id.value -) +/** 各工作区共用首次读取判定;切换项目显示占位,刷新已有项目保留内容。 */ +const isProjectInitialLoading = computed(() => context.loading.value && context.project.value?.id !== id.value) type OperationGuide = { title: string description: string @@ -311,9 +306,11 @@ onScopeDispose(() => { > - + - + + + diff --git a/src/features/visual-style/VisualStylePage.vue b/src/features/visual-style/VisualStylePage.vue index b93b2c5..8b00dcd 100644 --- a/src/features/visual-style/VisualStylePage.vue +++ b/src/features/visual-style/VisualStylePage.vue @@ -1,6 +1,5 @@