fix(short-drama-agent-front): 修复代码格式检查问题

This commit is contained in:
GJ committed 2026-10-21 17:04:02 +08:00
1 parent 81d6a85260
commit 48fce3975f
87 files changed
+5714 -1436

No files matched your search

+30 -9
View File
@@ -260,7 +260,9 @@ onScopeDispose(() => {
<!-- 以下是项目标题与全局配置入口模块,首次读取保留标题及两个操作的真实占位 -->
<NPageHeader @back="router.push('/projects')">
<template #title>
<div v-if="isProjectInitialLoading" class="project-title project-title-loading" aria-hidden="true"><NSkeleton :height="16" /></div>
<div v-if="isProjectInitialLoading" class="project-title project-title-loading" aria-hidden="true">
<NSkeleton :height="16" />
</div>
<NEllipsis v-else class="project-title" :tooltip="false">{{
context.project.value?.title || context.project.value?.topic || ''
}}</NEllipsis>
@@ -270,15 +272,30 @@ onScopeDispose(() => {
<div class="project-header-actions flex items-center gap-2">
<template v-if="isProjectInitialLoading">
<NSkeleton class="project-header-action-placeholder" aria-hidden="true" />
<NSkeleton class="project-header-action-placeholder project-header-config-placeholder" aria-hidden="true" />
<NSkeleton
class="project-header-action-placeholder project-header-config-placeholder"
aria-hidden="true"
/>
</template>
<template v-else>
<StoryboardPreparation v-if="context.project.value?.id === id" :key="id" :project-id="id" :disabled="!!context.error.value" @changed="context.refresh()" />
<WorkspaceActionTooltip label="项目配置" mobile-only>
<NButton class="workspace-action-button" size="small" aria-label="项目配置" :disabled="!context.project.value" @click="settingsOpen = true"
><template #icon><Settings2 :size="15" aria-hidden="true" /></template><span class="project-config-label">项目配置</span></NButton
>
</WorkspaceActionTooltip>
<StoryboardPreparation
v-if="context.project.value?.id === id"
:key="id"
:project-id="id"
:disabled="!!context.error.value"
@changed="context.refresh()"
/>
<WorkspaceActionTooltip label="项目配置" mobile-only>
<NButton
class="workspace-action-button"
size="small"
aria-label="项目配置"
:disabled="!context.project.value"
@click="settingsOpen = true"
><template #icon><Settings2 :size="15" aria-hidden="true" /></template
><span class="project-config-label">项目配置</span></NButton
>
</WorkspaceActionTooltip>
</template>
</div>
</template>
@@ -438,5 +455,9 @@ onScopeDispose(() => {
<style scoped>
/* 窄屏的两个项目操作统一显示图标,保留按钮的完整可访问名称。 */
@media (max-width: 639px) { .project-config-label { display: none; } }
@media (max-width: 639px) {
.project-config-label {
display: none;
}
}
</style>