fix(auth): 解决认证错误处理和会话管理问题
- 替换 AUTH_INVALID_TOKEN_CODE 为 AUTH_RELOGIN_REQUIRED_CODES 数组支持多种错误码 - 实现 hasClearableSessionState 和 hasRecordedUnauthorizedSession 函数优化会话清理逻辑 - 添加 clearQueryCache 选项控制查询缓存清理行为 - 修复马来西亚手机号正则验证模式导致的用户名验证问题 - 更新 API 错误消息处理优先级,优先使用服务端返回的消息 - 添加服务器消息检查函数 hasServerMessage 避免重复错误提示 - 在登录表单中实现密码可见性切换功能 - 添加密码可见性国际化文案支持 - 实现页面历史记录抽屉组件和相关动效 - 优化模态框背景遮罩样式和键盘事件处理 - 调整多个组件的 z-index 层级避免显示冲突
This commit is contained in:
@@ -194,6 +194,19 @@
|
||||
}
|
||||
|
||||
@layer utilities {
|
||||
.auth-password-input::-ms-clear,
|
||||
.auth-password-input::-ms-reveal {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.auth-password-input::-webkit-caps-lock-indicator,
|
||||
.auth-password-input::-webkit-contacts-auto-fill-button,
|
||||
.auth-password-input::-webkit-credentials-auto-fill-button {
|
||||
display: none;
|
||||
pointer-events: none;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.common-neon-inset {
|
||||
border: 1px solid rgba(128, 223, 231, 0.65);
|
||||
border-radius: 5px;
|
||||
@@ -512,20 +525,21 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
.desktop-title-vertical-marquee {
|
||||
.desktop-title-horizontal-marquee {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
animation: desktop-title-marquee-y 7s linear infinite;
|
||||
width: max-content;
|
||||
gap: calc(var(--design-unit) * 80);
|
||||
animation: desktop-title-marquee-x 16s linear infinite;
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
@keyframes desktop-title-marquee-y {
|
||||
@keyframes desktop-title-marquee-x {
|
||||
from {
|
||||
transform: translateY(0);
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: translateY(-50%);
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user