mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-17 12:54:40 +08:00
fix(wiki): type scanResult.errors so the scan error list type-checks
This commit is contained in:
parent
d2e1f9eb9c
commit
396a54440f
@ -500,7 +500,7 @@ const textTitle = ref('')
|
|||||||
const textContent = ref('')
|
const textContent = ref('')
|
||||||
const dirPath = ref(store.currentKB?.sourceDirectory || '')
|
const dirPath = ref(store.currentKB?.sourceDirectory || '')
|
||||||
const scanning = ref(false)
|
const scanning = ref(false)
|
||||||
const scanResult = ref<{ scanned: number; added: number; skipped: number } | null>(null)
|
const scanResult = ref<{ scanned: number; added: number; skipped: number; errors?: string[] } | null>(null)
|
||||||
|
|
||||||
// ─── Drag-over state ──────────────────────────────────────────────────────────
|
// ─── Drag-over state ──────────────────────────────────────────────────────────
|
||||||
const { isDragging, onDragEnter, onDragLeave, onDrop: handleDrop } = useFileDrop(uploadDroppedFiles)
|
const { isDragging, onDragEnter, onDragLeave, onDrop: handleDrop } = useFileDrop(uploadDroppedFiles)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user