refactor(projects): perf code

This commit is contained in:
Soybean
2024-03-24 03:02:08 +08:00
parent 187098136e
commit f91ef30bd5
54 changed files with 219 additions and 119 deletions

View File

@ -567,6 +567,7 @@ declare namespace App {
userName: FormMsg;
phone: FormMsg;
pwd: FormMsg;
confirmPwd: FormMsg;
code: FormMsg;
email: FormMsg;
};

View File

@ -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;