clear active preview when last history item is deleted

This commit is contained in:
jingrow 2025-11-19 17:50:42 +08:00
parent d439eceedc
commit 96436357eb

View File

@ -530,6 +530,7 @@ const removeHistoryItem = (index: number) => {
if (historyList.value.length === 0) {
currentHistoryIndex.value = -1
resetUpload()
return
}