Skip to main content

Module login

Module login 

Source
Expand description

登录页面,以及登录 / 注册共用的外壳与输入框。

页面居中一张 popover 级面板:上方文字标,下方「返回首页」。 登录成功跳转管理后台首页。

Structs§

AuthAlertProps 🔒
Props for the AuthAlert component.
AuthFieldProps 🔒
Props for the AuthField component.
AuthShellProps 🔒
Props for the AuthShell component.
LoginProps 🔒
Props for the Login component.
LoginRoute
登录页面路由(无 SSR 数据)。
PasswordFieldProps 🔒
Props for the PasswordField component.

Functions§

AuthAlert 🔒
表单级错误(服务端拒绝、网络失败)。
AuthField 🔒
带标签、提示与错误的输入框。error 为 Some 时标红并朗读说明。
AuthShell 🔒
登录与注册共用的外壳:文字标、居中面板、返回首页。
Login 🔒
登录页面组件
PasswordField 🔒
密码框:右侧「显示密码」切换。
__LoginRoute_View 🔒