feat(projects): 登录页面开始迁移

This commit is contained in:
Soybean
2022-01-04 19:09:00 +08:00
parent 035fa114c9
commit f5a36a05cb
30 changed files with 341 additions and 20 deletions

View File

@ -0,0 +1,7 @@
import type { LoginModuleKey } from '@/interface';
/** 获取登录页面模块的动态路由的正则 */
export function getLoginModuleRegExp() {
const modules: LoginModuleKey[] = ['pwd-login', 'code-login', 'register', 'reset-pwd', 'bind-wechat'];
return modules.join('|');
}