!112 未选择时,点击“确认”,出现必填验证提示。使用blur的话,选择之后验证消息不会自动消失,使用change会自动消失。
Merge pull request !112 from FlyFive/N/A
This commit is contained in:
commit
b779cf053d
|
@ -221,7 +221,7 @@ export default {
|
||||||
{ required: true, message: "公告标题不能为空", trigger: "blur" }
|
{ required: true, message: "公告标题不能为空", trigger: "blur" }
|
||||||
],
|
],
|
||||||
noticeType: [
|
noticeType: [
|
||||||
{ required: true, message: "公告类型不能为空", trigger: "blur" }
|
{ required: true, message: "公告类型不能为空", trigger: "change" }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -422,7 +422,7 @@ export default {
|
||||||
{ required: true, message: "用户昵称不能为空", trigger: "blur" }
|
{ required: true, message: "用户昵称不能为空", trigger: "blur" }
|
||||||
],
|
],
|
||||||
deptId: [
|
deptId: [
|
||||||
{ required: true, message: "归属部门不能为空", trigger: "blur" }
|
{ required: true, message: "归属部门不能为空", trigger: "change" }
|
||||||
],
|
],
|
||||||
password: [
|
password: [
|
||||||
{ required: true, message: "用户密码不能为空", trigger: "blur" }
|
{ required: true, message: "用户密码不能为空", trigger: "blur" }
|
||||||
|
|
Loading…
Reference in New Issue