Skip to content

Commit

Permalink
fix: 修复字典名称表单校验
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoofff committed Oct 11, 2023
1 parent 3a176ac commit c0ee2ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion continew-admin-ui/src/views/system/dict/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 位,可以包含中文、字母、数字、下划线,短横线',
},
Expand Down

0 comments on commit c0ee2ea

Please sign in to comment.