Commit 48b2418e authored by 涂伟's avatar 涂伟

fix: '数据库初始化菜单赋权限接口新增弹窗提示'

parent 8334a34b
Pipeline #97416 failed with stages
...@@ -265,9 +265,19 @@ const DatabaseInitialization = props => { ...@@ -265,9 +265,19 @@ const DatabaseInitialization = props => {
if (resdata.code === 0) { if (resdata.code === 0) {
setLastColor('green'); setLastColor('green');
setKeepLast(''); setKeepLast('');
notification.success({
message: '提示',
duration: 3,
description: '给平台管理员赋值所有菜单权限完成',
});
} else { } else {
setLastColor('red'); setLastColor('red');
setKeepLast(resdata.msg); setKeepLast(resdata.msg);
notification.error({
message: '提示',
duration: 3,
description: resdata.msg,
});
} }
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment