更新 'src/client/src/orangehrmPimPlugin/pages/employee/EmployeePersonalDetails.vue'
This commit is contained in:
parent
757d3762fc
commit
199e498f99
@ -339,9 +339,7 @@ export default {
|
|||||||
.request({
|
.request({
|
||||||
method: 'PUT',
|
method: 'PUT',
|
||||||
data: {
|
data: {
|
||||||
lastName: this.employee.lastName.length > 0
|
lastName: this.employee.lastName.length > 0 ? this.employee.lastName : ' ',
|
||||||
? this.employee.lastName
|
|
||||||
: ' ',
|
|
||||||
firstName: this.employee.firstName,
|
firstName: this.employee.firstName,
|
||||||
middleName: this.employee.middleName,
|
middleName: this.employee.middleName,
|
||||||
employeeId: this.employee.employeeId,
|
employeeId: this.employee.employeeId,
|
||||||
|
Loading…
Reference in New Issue
Block a user