提交 37e82e72 编写于 作者: KK's avatar KK

新增name

上级 089685a7
...@@ -79,6 +79,7 @@ const router = new Router({ ...@@ -79,6 +79,7 @@ const router = new Router({
<#-- END:循环路径下所有关系 --> <#-- END:循环路径下所有关系 -->
{ {
path: '${path}${srfpluralize(appDataEntity.codeName)?lower_case}/:${appDataEntity.getCodeName()?lower_case}?/${subView.getPSDEViewCodeName()?lower_case}', path: '${path}${srfpluralize(appDataEntity.codeName)?lower_case}/:${appDataEntity.getCodeName()?lower_case}?/${subView.getPSDEViewCodeName()?lower_case}',
name: '${appDataEntity.getCodeName()?lower_case}_${subView.getPSDEViewCodeName()?lower_case}',
meta: { meta: {
caption: '<#if subView.isPSDEView()>${subView.getPSDataEntity().getCodeName()?lower_case}.views.${subView.getPSDEViewCodeName()?lower_case}.caption<#else>app.views.${subView.getCodeName()?lower_case}.caption</#if>', caption: '<#if subView.isPSDEView()>${subView.getPSDataEntity().getCodeName()?lower_case}.views.${subView.getPSDEViewCodeName()?lower_case}.caption<#else>app.views.${subView.getCodeName()?lower_case}.caption</#if>',
<#if subView.getPSSysImage()??> <#if subView.getPSSysImage()??>
...@@ -103,6 +104,7 @@ const router = new Router({ ...@@ -103,6 +104,7 @@ const router = new Router({
<#-- END:有多重路径 --> <#-- END:有多重路径 -->
{ {
path: '${srfpluralize(appDataEntity.codeName)?lower_case}/:${appDataEntity.getCodeName()?lower_case}?/${subView.getPSDEViewCodeName()?lower_case}', path: '${srfpluralize(appDataEntity.codeName)?lower_case}/:${appDataEntity.getCodeName()?lower_case}?/${subView.getPSDEViewCodeName()?lower_case}',
name: '${appDataEntity.getCodeName()?lower_case}_${subView.getPSDEViewCodeName()?lower_case}',
meta: { meta: {
caption: '<#if subView.isPSDEView()>${subView.getPSDataEntity().getCodeName()?lower_case}.views.${subView.getPSDEViewCodeName()?lower_case}.caption<#else>app.views.${subView.getCodeName()?lower_case}.caption</#if>', caption: '<#if subView.isPSDEView()>${subView.getPSDataEntity().getCodeName()?lower_case}.views.${subView.getPSDEViewCodeName()?lower_case}.caption<#else>app.views.${subView.getCodeName()?lower_case}.caption</#if>',
<#if subView.getPSSysImage()??> <#if subView.getPSSysImage()??>
...@@ -121,6 +123,7 @@ const router = new Router({ ...@@ -121,6 +123,7 @@ const router = new Router({
<#else> <#else>
{ {
path: '${subView.getCodeName()?lower_case}', path: '${subView.getCodeName()?lower_case}',
name: '${subView.getCodeName()?lower_case}',
meta: { meta: {
caption: '<#if subView.isPSDEView()>${subView.getPSDataEntity().getCodeName()?lower_case}.views.${subView.getPSDEViewCodeName()?lower_case}.caption<#else>app.views.${subView.getCodeName()?lower_case}.caption</#if>', caption: '<#if subView.isPSDEView()>${subView.getPSDataEntity().getCodeName()?lower_case}.views.${subView.getPSDEViewCodeName()?lower_case}.caption<#else>app.views.${subView.getCodeName()?lower_case}.caption</#if>',
<#if subView.getPSSysImage()??> <#if subView.getPSSysImage()??>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册