mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
fix: fes layout 添加 route name, 用于动态路由创建 (#249)
This commit is contained in:
parent
9298cf1485
commit
95a1e07c6a
@ -122,6 +122,7 @@ export default (api) => {
|
|||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
path: '/',
|
path: '/',
|
||||||
|
name: 'fesLayout',
|
||||||
component: winPath(join(api.paths.absTmpPath || '', absFilePath)),
|
component: winPath(join(api.paths.absTmpPath || '', absFilePath)),
|
||||||
children: routes,
|
children: routes,
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user