1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-05 23:11:24 +08:00

Optimized form validation

This commit is contained in:
2023-05-30 02:08:21 +08:00
parent 046eefd87a
commit 5b5fa4ca98
4 changed files with 30 additions and 0 deletions

View File

@@ -117,6 +117,10 @@ export default {
{
required: true,
message: '角色名称为必填项'
},
{
max: 20,
message: '角色名称不能大于20个字符'
}
]
}