update
Some checks failed
Deploy / deploy (build, debian, 22) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822) (push) Has been cancelled

This commit is contained in:
2026-06-11 21:24:50 -06:00
parent c12c77ac7e
commit 5bb8a1eaa3
4 changed files with 21 additions and 8 deletions

View File

@@ -194,8 +194,8 @@ async function deleteItem(item: HistoryViewItem, e: Event) {
}
emit("deleted", item.assistant_message_id)
naiveMessage.success("已删除")
} catch {
naiveMessage.error("删除失败,请重试")
} catch (error: any) {
naiveMessage.error(error.response?.data?.detail ?? "删除失败,请重试")
} finally {
deletingId.value = null
}