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:
@@ -117,6 +117,10 @@ export default {
|
||||
{
|
||||
required: true,
|
||||
message: '角色名称为必填项'
|
||||
},
|
||||
{
|
||||
max: 20,
|
||||
message: '角色名称不能大于20个字符'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user