mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-13 03:13:41 +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 dirPath = ref(store.currentKB?.sourceDirectory || '')
|
||||
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 ──────────────────────────────────────────────────────────
|
||||
const { isDragging, onDragEnter, onDragLeave, onDrop: handleDrop } = useFileDrop(uploadDroppedFiles)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user