mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-26 14:26:06 +00:00
perf: complete some notifications
This commit is contained in:
@@ -304,6 +304,7 @@ export default function BotForm({
|
|||||||
.deleteBot(initBotId)
|
.deleteBot(initBotId)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
onBotDeleted();
|
onBotDeleted();
|
||||||
|
toast.success('删除成功');
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
toast.error('删除失败:' + err.message);
|
toast.error('删除失败:' + err.message);
|
||||||
|
|||||||
Reference in New Issue
Block a user