fix(iot): 修复 antd/ele 对齐评审问题

- 对齐场景联动、首页趋势、产品、设备、分组、物模型等行为
- 修复设备导入结果弹窗、分页、权限、校验规则等差异
- 收敛 antd 与 ele 的实现风格
This commit is contained in:
YunaiV
2026-05-25 00:11:11 +08:00
parent 3c592887b9
commit ab697925cf
28 changed files with 107 additions and 67 deletions

View File

@@ -148,8 +148,8 @@ export const ThingModelFormRules: Record<string, Rule[]> = {
identifier: [
{ required: true, message: '标识符不能为空', trigger: 'blur' },
{
pattern: /^\w{1,50}$/,
message: '支持大小写字母、数字和下划线,不超过 50 个字符',
pattern: /^[a-zA-Z][a-zA-Z0-9_]{0,31}$/,
message: '支持大小写字母、数字和下划线,必须以字母开头,不超过 32 个字符',
trigger: 'blur',
},
{