fix(short-drama-agent-front): 统一全屏布局与问题处理交互
This commit is contained in:
1 parent
db91a4b871
commit
cc27d463e0
25 files changed
+838
-316
No files matched your search
@@ -4,7 +4,7 @@ import ContextNotice from '../../components/ui/ContextNotice.vue'
|
||||
import { computed, h, inject, onScopeDispose, provide, ref, watch, watchEffect } from 'vue'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import { NScrollbar, NButton, NPageHeader, NSpin, NEllipsis } from 'naive-ui'
|
||||
import { EmptyState } from '../../components/ui'
|
||||
import { EmptyState, WorkspaceRefreshButton } from '../../components/ui'
|
||||
import { projectContextKey, useProjectData } from './context'
|
||||
import { getOperation } from '../workflows/operations'
|
||||
import { projectAccessKey, projectSectionFromPath, type ProjectAccess } from './access'
|
||||
@@ -294,9 +294,13 @@ onScopeDispose(() => {
|
||||
@click="router.push(`/projects/${id}/${currentAccess.nextPath}`)"
|
||||
>{{ currentAccess.nextLabel || '前往上一步' }}</NButton
|
||||
>
|
||||
<NButton v-if="isGallery" class="ml-3" :loading="context.loading.value" @click="context.refresh"
|
||||
>刷新项目状态</NButton
|
||||
>
|
||||
<!-- 以下是手动刷新项目状态模块,图标位常驻以保持加载前后的按钮尺寸 -->
|
||||
<WorkspaceRefreshButton
|
||||
v-if="isGallery"
|
||||
label="刷新项目状态"
|
||||
:loading="context.loading.value"
|
||||
@refresh="context.refresh"
|
||||
/>
|
||||
</EmptyState>
|
||||
<!-- 以下是剧本创作首次读取的骨架屏模块 -->
|
||||
<CreateDramaSkeleton v-else-if="isProjectInitialLoading && isCreation" />
|
||||
|
||||
Reference in new issue
Block a user