fix: 浏览内容进度实时显示

This commit is contained in:
2025-12-16 21:19:48 +08:00
parent 2abb9ab494
commit 1b707fdace
18 changed files with 89 additions and 41 deletions

View File

@@ -652,13 +652,14 @@ onBeforeUnmount(() => {
</div>
</div>
<div v-if="showRuntimeProgress(acc)" class="progress">
<el-progress :percentage="toPercent(acc)" :stroke-width="10" :show-text="false" />
<div class="progress-meta app-muted">
<span>内容 {{ acc.progress_items || 0 }}/{{ acc.total_items || 0 }}</span>
<span>附件 {{ acc.progress_attachments || 0 }}/{{ acc.total_attachments || 0 }}</span>
</div>
</div>
<div v-if="showRuntimeProgress(acc)" class="progress">
<el-progress :percentage="toPercent(acc)" :stroke-width="10" :show-text="false" />
<div class="progress-meta app-muted">
<span>
内容 {{ acc.progress_items || 0 }}<template v-if="acc.total_items">/{{ acc.total_items }}</template>
</span>
</div>
</div>
<div class="card-controls">
<el-select v-model="browseTypeById[acc.id]" size="small" style="width: 130px">