fix: 添加layout参数

This commit is contained in:
jackycheng
2024-12-24 14:27:56 +08:00
parent de8f3b3921
commit 09edc936b6
3 changed files with 4 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
import { createFromIconfontCN } from '@ant-design/icons';
const Icon = createFromIconfontCN({
scriptUrl: '{{iconFontSrc}}',
scriptUrl: {{iconFontSrc}},
});
export default Icon;

View File

@@ -4,6 +4,6 @@ import { RootRoute } from './types';
export const routerConfig: RootRoute = {
path: '/',
element: <Layout type={LayoutType.Default} />,
element: <Layout type={LayoutType.{{layout}}} />,
children: [],
};

View File

@@ -1,3 +1,4 @@
projectName: toco
uiVersion: 0.1.36
iconFontSrc: ""
iconFontSrc: ""
layout: Default