From cb040e71388358cd484d7e256581c2215f25710c Mon Sep 17 00:00:00 2001 From: Mac666 Date: Wed, 16 Aug 2023 16:40:26 +0000 Subject: [PATCH] =?UTF-8?q?#5071=20=E5=B7=A6=E4=BE=A7=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=EF=BC=8C=E5=9C=A8=E5=A4=9A=E4=B8=AA=E8=8F=9C=E5=8D=95=E9=87=8C?= =?UTF-8?q?=E5=BC=95=E7=94=A8=E5=90=8C=E4=B8=80=E4=B8=AA=E8=B7=AF=E7=94=B1?= =?UTF-8?q?=E4=B8=8B=E7=9A=84=E7=BB=84=E4=BB=B6=EF=BC=8C=E9=80=9A=E8=BF=87?= =?UTF-8?q?=E8=B7=AF=E7=94=B1=E5=8E=BB=E5=8C=BA=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mac666 --- src/router/backEnd.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router/backEnd.ts b/src/router/backEnd.ts index 109cfe7c..19142e4f 100644 --- a/src/router/backEnd.ts +++ b/src/router/backEnd.ts @@ -133,7 +133,7 @@ export function backEndComponent(routes: any) { } item.path = '/iframes/' + window.btoa(item.path); } else if (item.path) { - item.component = dynamicImport(dynamicViewsModules, item.path as string); + item.component = dynamicImport(dynamicViewsModules, item.path.split('/:')[0]); } item.children && backEndComponent(item.children); if (item.children) {