feat: 1.统一右侧抽屉关闭按钮布局 2.统一 UI 组件为 Ant Design 移除 radix-ui、floating-ui 组件 3. 修复 ESLint 文件格式错误的问题
This commit is contained in:
@@ -43,7 +43,11 @@ export const RESERVED_LOGIN_NAMES = [
|
||||
|
||||
/** 是否命中保留名(大小写不敏感、去空格,与后端同口径)。 */
|
||||
export function isReservedLoginName(name) {
|
||||
return RESERVED_LOGIN_NAMES.includes(String(name || '').trim().toLowerCase());
|
||||
return RESERVED_LOGIN_NAMES.includes(
|
||||
String(name || '')
|
||||
.trim()
|
||||
.toLowerCase(),
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user