mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-09-24 04:16:38 +08:00
8 lines
284 B
TypeScript
8 lines
284 B
TypeScript
import type { LoginModuleKey } from '@/interface';
|
|
|
|
/** 获取登录页面模块的动态路由的正则 */
|
|
export function getLoginModuleRegExp() {
|
|
const modules: LoginModuleKey[] = ['pwd-login', 'code-login', 'register', 'reset-pwd', 'bind-wechat'];
|
|
return modules.join('|');
|
|
}
|