新增用户时,给部门增加默认值。

对应Issue,Cloud版本库。
https://gitee.com/zhijiantianya/yudao-cloud/issues/I8C4B5
This commit is contained in:
wgs7909 2023-10-31 07:07:11 +08:00
parent a0c142f886
commit 3dade7fd54

View File

@ -327,6 +327,9 @@ export default {
nickname: [ nickname: [
{ required: true, message: "用户昵称不能为空", trigger: "blur" } { required: true, message: "用户昵称不能为空", trigger: "blur" }
], ],
deptId: [
{ required: true, message: "归属部门必选择", trigger: "blur" }
],
password: [ password: [
{ required: true, message: "用户密码不能为空", trigger: "blur" } { required: true, message: "用户密码不能为空", trigger: "blur" }
], ],