mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-03-01 09:30:48 +08:00
feat: 发布rate 明确指引
This commit is contained in:
@@ -240,6 +240,8 @@ export default {
|
||||
if (data.id) {
|
||||
window.location.href = `/posts/${data.id}`
|
||||
}
|
||||
} else if (res.status === 429) {
|
||||
toast.error('发布过于频繁,请稍后再试')
|
||||
} else {
|
||||
toast.error(data.error || '发布失败')
|
||||
}
|
||||
|
||||
@@ -379,6 +379,8 @@ export default {
|
||||
} else {
|
||||
toast.success('评论成功')
|
||||
}
|
||||
} else if (res.status === 429) {
|
||||
toast.error('评论过于频繁,请稍后再试')
|
||||
} else {
|
||||
toast.error('评论失败')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user