Expand description
登录页面,以及登录 / 注册共用的外壳与输入框。
页面居中一张 popover 级面板:上方文字标,下方「返回首页」。 登录成功跳转管理后台首页。
Structs§
- Auth
Alert 🔒Props - Props for the
AuthAlertcomponent. - Auth
Field 🔒Props - Props for the
AuthFieldcomponent. - Auth
Shell 🔒Props - Props for the
AuthShellcomponent. - Login
Props 🔒 - Props for the
Logincomponent. - Login
Route - 登录页面路由(无 SSR 数据)。
- Password
Field 🔒Props - Props for the
PasswordFieldcomponent.
Functions§
- Auth
Alert 🔒 - 表单级错误(服务端拒绝、网络失败)。
- Auth
Field 🔒 - 带标签、提示与错误的输入框。
error为Some时标红并朗读说明。 - Auth
Shell 🔒 - 登录与注册共用的外壳:文字标、居中面板、返回首页。
- Login 🔒
- 登录页面组件
- Password
Field 🔒 - 密码框:右侧「显示密码」切换。
- __
Login 🔒Route_ View