更新 'src/client/src/orangehrmPimPlugin/pages/employee/EmployeePersonalDetails.vue'

This commit is contained in:
zhongjin 2023-05-09 22:46:01 +08:00
parent 0355cdefba
commit 06e4c2f1df

View File

@ -339,9 +339,9 @@ export default {
.request({
method: 'PUT',
data: {
lastName: this.employee.lastName
? this.employee.lastName
: undefined,
lastName: this.employee.lastName.length == 0
? " "
: this.employee.lastName,
firstName: this.employee.firstName,
middleName: this.employee.middleName,
employeeId: this.employee.employeeId,