mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-26 16:10:49 +08:00
feat: update toast
This commit is contained in:
@@ -186,6 +186,7 @@ export default {
|
||||
if (res.ok) {
|
||||
const data = await res.json()
|
||||
comments.value.push(mapComment(data))
|
||||
toast.success('评论成功')
|
||||
} else {
|
||||
toast.error('评论失败')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user