feat(projects): support iframe page with diffrent url of custom route

This commit is contained in:
Soybean
2024-04-25 23:08:38 +08:00
parent 1c3b4734fa
commit da12d4a5cd
10 changed files with 215 additions and 2 deletions

View File

@ -179,6 +179,19 @@ export const generatedRoutes: GeneratedRoute[] = [
order: 1
}
},
{
name: 'iframe-page',
path: '/iframe-page/:url',
component: 'layout.base$view.iframe-page',
props: true,
meta: {
title: 'iframe-page',
i18nKey: 'route.iframe-page',
constant: true,
hideInMenu: true,
keepAlive: true
}
},
{
name: 'login',
path: '/login/:module(pwd-login|code-login|register|reset-pwd|bind-wechat)?',