mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-11 16:50:09 +08:00
fix(notification): 统一使用title属性替代message属性
refactor: 将notification的message属性替换为title属性以保持一致性 feat: 在登录成功时添加新的notification样式演示 docs: 添加antdv-next替换ant-design-vue的提示
This commit is contained in:
@@ -155,7 +155,7 @@ function validateMenuTree(menu: MenuOption) {
|
||||
const description = `错误用法: [${menu.label} - 菜单]下不能放 目录/菜单 -> [${item.label}]`;
|
||||
console.warn(description);
|
||||
notification.warning({
|
||||
message: '提示',
|
||||
title: '提示',
|
||||
description,
|
||||
duration: 0,
|
||||
});
|
||||
@@ -172,7 +172,7 @@ function validateMenuTree(menu: MenuOption) {
|
||||
const description = `错误用法: [${menu.label} - 按钮]下不能放置'目录/菜单/按钮' -> [${item.label}]`;
|
||||
console.warn(description);
|
||||
notification.warning({
|
||||
message: '提示',
|
||||
title: '提示',
|
||||
description,
|
||||
duration: 0,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user