Merge pull request #22 from Bull-BCLS/dev

fix: 修复字典名称表单校验
This commit is contained in:
Charles7c 2023-10-11 22:29:26 +08:00 committed by GitHub
commit e58d89fe14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -274,7 +274,7 @@
name: [ name: [
{ required: true, message: '请输入字典名称' }, { required: true, message: '请输入字典名称' },
{ {
match: /^[\\u4e00-\\u9fa5a-zA-Z0-9_-]{2,30}$/, match: /^[\u4e00-\u9fa5a-zA-Z0-9_-]{2,30}$/,
message: message:
'长度为 2 到 30 位,可以包含中文、字母、数字、下划线,短横线', '长度为 2 到 30 位,可以包含中文、字母、数字、下划线,短横线',
}, },