feat(客户端管理): 优化客户端管理界面功能

- 添加默认客户端ID常量
- 重构密钥输入组件使用SpaceCompact布局
- 替换TableSwitch为ApiSwitch并优化状态切换逻辑
This commit is contained in:
dap
2026-01-16 09:36:49 +08:00
parent 29e0d0437e
commit e5bbaf5f9a
3 changed files with 34 additions and 16 deletions

View File

@@ -52,6 +52,11 @@ export const SUPERADMIN_ROLE_KEY = 'superadmin';
*/
export const ADMIN_ROLE_KEY = 'admin';
/**
* 默认客户端ID
*/
export const DEFAULT_CLIENT_ID = 1;
/**
* 对应 字典-S系统开关的状态
*/