Skip to content

Commit

Permalink
fix: fes layout 添加 route name, 用于动态路由创建 (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
winixt authored Sep 8, 2024
1 parent 9298cf1 commit 95a1e07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/fes-plugin-layout/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ export default (api) => {
return [
{
path: '/',
name: 'fesLayout',
component: winPath(join(api.paths.absTmpPath || '', absFilePath)),
children: routes,
},
Expand Down

0 comments on commit 95a1e07

Please sign in to comment.