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:
@ -1,5 +1,13 @@
|
||||
export function getStorageToken() {
|
||||
import type { LoginModuleType } from '@/interface';
|
||||
|
||||
export function getToken() {
|
||||
return '';
|
||||
}
|
||||
|
||||
export function getStorageUserInfo() {}
|
||||
export function getUserInfo() {}
|
||||
|
||||
/** 获取登录模块的正则字符串 */
|
||||
export function getLoginModuleRegExp() {
|
||||
const arr: LoginModuleType[] = ['pwd-login', 'code-login', 'register', 'reset-pwd', 'bind-wechat'];
|
||||
return arr.join('|');
|
||||
}
|
||||
|
Reference in New Issue
Block a user