mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-13 03:13:41 +08:00
fix(wiki): use index as key for scan error list to avoid duplicate-key warnings
This commit is contained in:
parent
29fcfb5572
commit
6c8283e77a
@ -68,7 +68,7 @@
|
||||
<div v-if="scanResult" class="scan-result">
|
||||
{{ t('wiki.scanResult', { scanned: scanResult.scanned, added: scanResult.added, skipped: scanResult.skipped }) }}
|
||||
<div v-if="scanResult.errors?.length" class="scan-errors">
|
||||
<span v-for="err in scanResult.errors" :key="err" class="scan-error-item">{{ err }}</span>
|
||||
<span v-for="(err, i) in scanResult.errors" :key="i" class="scan-error-item">{{ err }}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user