修复编辑后输入框无法选中的焦点管理问题

- 移除阻塞式alert调用,避免焦点管理冲突
- 清理不必要的CSS z-index层级设置
- 优化EditProviderModal的useEffect依赖管理
- 改用console日志记录操作结果

问题原因:alert()强制抢夺焦点,在模态框关闭时打断正常焦点流转
This commit is contained in:
farion1231
2025-08-06 15:20:08 +08:00
parent 41a6bda4ab
commit 6c7d4c158f
3 changed files with 17 additions and 12 deletions

View File

@@ -81,8 +81,6 @@
border-radius: 4px;
font-size: 0.95rem;
transition: border-color 0.2s;
position: relative;
z-index: 1;
background: white;
}
@@ -152,7 +150,6 @@
justify-content: center;
width: 32px;
height: 32px;
z-index: 2;
}
.password-toggle svg {