feat: dashboard

This commit is contained in:
jialin
2024-05-22 09:29:30 +08:00
parent a416bc7eab
commit 46a9e6a931
21 changed files with 1522 additions and 53 deletions
+2 -1
View File
@@ -91,6 +91,7 @@ export default (props: any) => {
};
const formatMessage = undefined;
const runtimeConfig = pluginManager.applyPlugins({
key: 'layout',
type: 'modify',
@@ -101,7 +102,7 @@ export default (props: any) => {
}
});
console.log(
'clientRoute===========',
'clientRoute==========2=',
clientRoutes,
runtimeConfig,
initialInfo
+2
View File
@@ -71,6 +71,8 @@ export function getRightRenderContent(opts: {
]
};
// antd@5 和 4.24 之后推荐使用 menu,性能更好
console.log('version+++++++++=', opts.runtimeConfig, version);
let dropdownProps;
if (version.startsWith('5.') || version.startsWith('4.24.')) {
dropdownProps = { menu: langMenu };