Skip to content

Commit

Permalink
wip:(gen) 更新vben的routes模板,添加图标生成
Browse files Browse the repository at this point in the history
  • Loading branch information
gmf520 committed Oct 6, 2023
1 parent a18443c commit 6cedc0d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ const osharp: AppRouteModule = {
redirect: '/system/@(urlModule)/@(module.Entities.FirstOrDefault()?.Name.UpperToLowerAndSplit() ?? "index")',
meta: {
title: t('routes.osharp.@(lowerModule).@(lowerModule)'),
icon: '@(module.Icon)',
acl: ['Root.Admin.@(module.Name)'],
},
children: [
Expand All @@ -57,9 +58,10 @@ const osharp: AppRouteModule = {
<text> {
path: '@(urlEntity)',
name: '@(entity.Name)',
component: () => import('/@@/views/osharp/@(lowerModule)/@(lowerEntity).vue'),
component: () => import('/@@/views/osharp/@(lowerModule)/@(entity.Name).vue'),
meta: {
title: t('routes.osharp.@(lowerModule).@(lowerEntity)'),
icon: '@(entity.Icon)',
acl: ['Root.Admin.@(module.Name).@(entity.Name)'],
},
},
Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit 6cedc0d

Please sign in to comment.