From 2eaa481d9b811e3f3086fafd708c2c711dd1730f Mon Sep 17 00:00:00 2001 From: wangxiang <1827945911@qq.com> Date: Sun, 8 Oct 2023 19:31:13 +0800 Subject: [PATCH] chore: compose workflow api --- src/router/helper/routeHelper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router/helper/routeHelper.ts b/src/router/helper/routeHelper.ts index 1243ce9..1627d4a 100644 --- a/src/router/helper/routeHelper.ts +++ b/src/router/helper/routeHelper.ts @@ -19,7 +19,7 @@ const IFRAME = () => import('/@/views/core/iframe/FrameBlank.vue'); const LayoutMap = new Map Promise>(); LayoutMap.set('LAYOUT', LAYOUT); LayoutMap.set('IFRAME', IFRAME); -LayoutMap.set('PARENTLAYOUT', getParentLayout as any); +LayoutMap.set('PARENTLAYOUT', getParentLayout() as any); /** 性能优化,避免多次加载views下的组件 */ let dynamicViewsModules: Record Promise>;