From 975f55d06c287914987eb2cee15b307290b02ac6 Mon Sep 17 00:00:00 2001 From: caoxiaozhu Date: Fri, 24 Jul 2026 14:23:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(data-process):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E9=A2=84=E8=A7=88=E5=88=86=E9=A1=B5=E4=B8=8EPDF=E5=85=BC?= =?UTF-8?q?=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/scripts/regression-data-process-wizard.mjs | 4 +++- frontend/src/views/data-process/create/PdfSourceViewer.vue | 6 ++++-- .../src/views/data-process/create/PreviewCompareStep.vue | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/frontend/scripts/regression-data-process-wizard.mjs b/frontend/scripts/regression-data-process-wizard.mjs index 73f43e6..f6ada64 100644 --- a/frontend/scripts/regression-data-process-wizard.mjs +++ b/frontend/scripts/regression-data-process-wizard.mjs @@ -129,7 +129,7 @@ assert.match(previewSource, /sourceEnd/, '第四步未使用来源结束偏移') assert.match(previewSource, /filterable/, '文件选择器必须可搜索') assert.match(previewSource, /当前文件/, '预览缺少当前文件切换器') assert.doesNotMatch(previewSource, /located-badge|sync-label|已定位到/, '源文件栏不应显示冗余定位提示') -assert.match(previewSource, /const PREVIEW_PAGE_SIZE = 6/, '切片列表必须限制每页展示数量') +assert.match(previewSource, /const PREVIEW_PAGE_SIZE = 10/, '切片列表每页应展示 10 条') assert.match(previewSource, /const pagedItems = computed/, '切片列表缺少分页数据') assert.match(previewSource, /v-for="item in pagedItems"/, '切片列表没有使用分页数据') assert.match(previewSource, /(null) const search = ref('') const currentPage = ref(1) -const PREVIEW_PAGE_SIZE = 6 +const PREVIEW_PAGE_SIZE = 10 const editingItemId = ref(null) const editorDraft = ref('') const lines = computed(() => sourceLines(props.sourceText))