This commit is contained in:
parent
18ade9747a
commit
eaf9b686f6
|
|
@ -423,7 +423,7 @@ const User: React.FC = () => {
|
|||
if (!addUserFrom.UserName && isCreateUser !== 'batch') {
|
||||
return message.error('请输入用户名称!')
|
||||
}
|
||||
if (!addUserFrom.year) {
|
||||
if (addUserFrom.year === '') {
|
||||
return message.error('请输入届!')
|
||||
}
|
||||
if (isCreateUser === 'add') {
|
||||
|
|
|
|||
Loading…
Reference in New Issue