fix: Optional OCR-Assisted Draft Pre-Fill

This commit is contained in:
voltsrage
2026-06-28 01:48:15 +08:00
parent c160c5f912
commit c26ef22670
16 changed files with 186 additions and 69 deletions
@@ -29,7 +29,7 @@
:url="documentUrl"
/>
<div v-else class="flex items-center justify-center bg-gray-100 rounded-lg">
<p class="text-gray-500">Loading document...</p>
<p class="text-gray-500">{{ documentError ?? 'Loading document...' }}</p>
</div>
<VerificationForm
@@ -58,7 +58,7 @@ const router = useRouter()
const batchId = computed(() => props.batchId ?? (route.params.batchId as string | undefined))
const currentBatch = computed(() => batchStore.currentBatch)
const { documentUrl } = usePresignedUrl(batchId)
const { documentUrl, documentError } = usePresignedUrl(batchId)
function openBatch(id: string) {
router.push(`/verification/${id}`)