修复重复弹msg的bug
deploy-userbase-front / build-and-deploy (push) Successful in 2m27s

This commit is contained in:
chenxing
2026-08-18 23:31:27 +08:00
parent 8fd5a21fcc
commit 02f1fd2b14
32 changed files with 4843 additions and 2530 deletions
+2 -1
View File
@@ -27,7 +27,8 @@ onSuccess(() => {
onSuccessCallback?.();
});
onError((event: any) => {
Message.error(event?.error?.message || "编辑失败");
// 错误提示已由全局 alova 拦截器统一弹出,这里仅记录日志避免二次弹窗
console.warn('[EditRoleContainer] 编辑角色失败:', event?.error?.message || '编辑失败');
});
function open(id: number, row: any, onSuccess?: () => void) {