This commit is contained in:
dap
2025-02-05 19:41:33 +08:00
parent ba3fc0fe10
commit b8ed931eb6
3 changed files with 26 additions and 13 deletions

View File

@@ -60,6 +60,9 @@ const localRoutes: RouteRecordStringComponent[] = [
name: 'WorkflowDesigner',
path: '/workflow/designer',
},
/**
* 需要添加iframe路由 同目录的./workflow-iframe.ts
*/
{
component: 'workflow/leave/leave-form',
meta: {
@@ -71,18 +74,6 @@ const localRoutes: RouteRecordStringComponent[] = [
name: 'WorkflowLeaveIndex',
path: '/workflow/leaveEdit/index',
},
// 这里是iframe使用的 去掉外层的BasicLayout
{
component: 'workflow/leave/leave-form',
meta: {
title: '请假申请',
hideInMenu: true,
// 不使用基础布局(仅在顶级生效)
noBasicLayout: true,
},
name: 'WorkflowLeaveInner',
path: '/workflow/leaveEdit/index/iframe',
},
];
/**