fix: 修复登录重复创建会话 + 备注输入框不可交互
- login.js 增加防重复提交锁,请求期间禁用按钮 - Manager.Create 增加幂等检查,同用户同IP同UA 10秒内复用已有会话 - 移除当前设备备注输入框的 readonly 限制,改为 data-current 标记 - 修复 readonly 状态下输入框完全透明无法点击的问题
This commit is contained in:
@ -690,15 +690,15 @@ body {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.session-remark-input[readonly] {
|
||||
background: transparent;
|
||||
border-color: transparent;
|
||||
cursor: default;
|
||||
.session-remark-input[data-current="true"] {
|
||||
background: rgba(46, 204, 113, .03);
|
||||
border-color: rgba(46, 204, 113, .2);
|
||||
}
|
||||
|
||||
.session-remark-input[readonly]:focus {
|
||||
box-shadow: none;
|
||||
border-color: transparent;
|
||||
.session-remark-input[data-current="true"]:focus {
|
||||
border-color: var(--color-accent);
|
||||
box-shadow: 0 0 0 3px rgba(52, 152, 219, .15);
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.session-action {
|
||||
|
||||
Reference in New Issue
Block a user