🐛 Fix(custom): fix gallery image delete bug

ISSUES CLOSED: #239
This commit is contained in:
Kuingsmile 2024-09-11 17:34:15 +08:00
parent 59ed79af57
commit d6f48e50b9

View File

@ -694,6 +694,9 @@ function multiRemove() {
duration: multiRemoveNumber > 5 ? 1000 : 2000 duration: multiRemoveNumber > 5 ? 1000 : 2000
}) })
} }
} else {
files.push(file)
await $$db.removeById(key)
} }
} }
} }