mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
refactor(projects): perf code
This commit is contained in:
1
src/typings/app.d.ts
vendored
1
src/typings/app.d.ts
vendored
@ -567,6 +567,7 @@ declare namespace App {
|
||||
userName: FormMsg;
|
||||
phone: FormMsg;
|
||||
pwd: FormMsg;
|
||||
confirmPwd: FormMsg;
|
||||
code: FormMsg;
|
||||
email: FormMsg;
|
||||
};
|
||||
|
22
src/typings/union-key.d.ts
vendored
22
src/typings/union-key.d.ts
vendored
@ -3,11 +3,11 @@ declare namespace UnionKey {
|
||||
/**
|
||||
* The login module
|
||||
*
|
||||
* - Pwd-login: password login
|
||||
* - Code-login: phone code login
|
||||
* - Register: register
|
||||
* - Reset-pwd: reset password
|
||||
* - Bind-wechat: bind wechat
|
||||
* - pwd-login: password login
|
||||
* - code-login: phone code login
|
||||
* - register: register
|
||||
* - reset-pwd: reset password
|
||||
* - bind-wechat: bind wechat
|
||||
*/
|
||||
type LoginModule = 'pwd-login' | 'code-login' | 'register' | 'reset-pwd' | 'bind-wechat';
|
||||
|
||||
@ -17,10 +17,10 @@ declare namespace UnionKey {
|
||||
/**
|
||||
* The layout mode
|
||||
*
|
||||
* - Vertical: the vertical menu in left
|
||||
* - Horizontal: the horizontal menu in top
|
||||
* - Vertical-mix: two vertical mixed menus in left
|
||||
* - Horizontal-mix: the vertical menu in left and horizontal menu in top
|
||||
* - vertical: the vertical menu in left
|
||||
* - horizontal: the horizontal menu in top
|
||||
* - vertical-mix: two vertical mixed menus in left
|
||||
* - horizontal-mix: the vertical menu in left and horizontal menu in top
|
||||
*/
|
||||
type ThemeLayoutMode = 'vertical' | 'horizontal' | 'vertical-mix' | 'horizontal-mix';
|
||||
|
||||
@ -38,8 +38,8 @@ declare namespace UnionKey {
|
||||
/**
|
||||
* Tab mode
|
||||
*
|
||||
* - Chrome: chrome style
|
||||
* - Button: button style
|
||||
* - chrome: chrome style
|
||||
* - button: button style
|
||||
*/
|
||||
type ThemeTabMode = import('@sa/materials').PageTabMode;
|
||||
|
||||
|
Reference in New Issue
Block a user