Commit 3779a5fe by yuzhenWang

Merge branch 'feature-20260316wyz-预约修改' into 'test'

增加名字长度校验

See merge request !99
parents 4a6b3368 86c40a5e
......@@ -1406,6 +1406,11 @@ const handleFormValues = source => {
//处理表单数据
for (const key1 in form.value) {
if (key1 == 'nameCn' && submitObj[key1] && submitObj[key1].length < 2) {
errorFields.value.push({
message: `${tipName}-名字至少为2个字符`
})
}
for (const key2 in saveKey.value) {
//要判断drawerType
switch (saveKey.value[key2].objType) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment