feat: dashboard
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user