fix: 使用 NScrollbar 统一内容区滚动条

This commit is contained in:
GouJ committed 2026-09-01 16:44:30 +08:00
1 parent db8c176b55
commit 3fe1b3f5c3
17 files changed
+967 -737

No files matched your search

+3 -3
View File
@@ -1,6 +1,6 @@
<script setup lang="ts">
import WorkspacePage from '../../components/ui/WorkspacePage.vue'
import { NAlert, NButton, NCheckbox, NInputNumber, NProgress, NTab, NTable, NTabs, NTag } from 'naive-ui'
import { NScrollbar, NAlert, NButton, NCheckbox, NInputNumber, NProgress, NTab, NTable, NTabs, NTag } from 'naive-ui'
import { computed, onScopeDispose, ref, watch } from 'vue'
import { Download, Layers, LoaderCircle, ArrowRight } from '@lucide/vue'
import { EmptyState, StatusBadge } from '../../components/ui'
@@ -343,7 +343,7 @@ function exportResult() {
<StoryboardList :plans="plans" :episodes="shots" />
</div>
<div v-if="tab === 'tasks'" class="p-5">
<div v-if="snapshot?.tasks?.length" class="table-scroll">
<NScrollbar x-scrollable v-if="snapshot?.tasks?.length" class="table-scroll">
<NTable :single-line="false" class="project-table"
><thead>
<tr>
@@ -383,7 +383,7 @@ function exportResult() {
>
</tbody></NTable
>
</div>
</NScrollbar>
<EmptyState
v-else
title="尚无抽取任务记录"