mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat(projects): 登录页面开始迁移
This commit is contained in:
7
src/utils/router/regexp.ts
Normal file
7
src/utils/router/regexp.ts
Normal 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('|');
|
||||
}
|
Reference in New Issue
Block a user