fix: 修复字典名称表单校验

This commit is contained in:
Bull-BCLS 2023-10-11 21:48:23 +08:00
parent 3a176ac5ef
commit c0ee2eac02

View File

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