提交 32d42da9 编写于 作者: RedPig97's avatar RedPig97

delete: 删除临时代码

上级 f99cd5b2
......@@ -96,12 +96,7 @@ export class RouteUtil {
// 如果一个匹配的没有,即没有任何主键匹配上,关系路径为实体自身的pathName
if(routePath == ''){
//临时添加首页路由
if (deResPaths.length > 0) {
routePath = "/"+deResPaths[deResPaths.length -1][0].pathName;
} else {
routePath = '/examples';
}
routePath = "/"+deResPaths[deResPaths.length -1][0].pathName;
}
return routePath;
......
......@@ -14,22 +14,6 @@ const routes = [
},
component: () => import("@views/{{spinalCase app.defaultPSAppIndexView.psAppModule.codeName}}/{{spinalCase app.defaultPSAppIndexView.codeName}}"),
children: [
// 临时提交首页视图路由 begin
{
path: "examples/:example?/views/viewtypeindexview",
meta: {
tag:'ViewTypeIndexView'
},
component: () => import("@views/sample/view-type-index-view"),
},
{
path: "examples/:example?/views/ctrltypeindexview",
meta: {
tag:'CtrlTypeIndexView'
},
component: () => import("@views/sample/ctrl-type-index-view"),
},
// 临时提交首页视图路由 end
{{#each app.appEntityResources as |appEntityResource|}}
{{#if appEntityResource.appDataEntity.allPSAppViews}}
{{#each appEntityResource.appDataEntity.allPSAppViews as |appView|}}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册