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

This commit is contained in:
zhongjin 2023-05-09 23:02:55 +08:00
parent 5ae8e8a451
commit 757d3762fc

View File

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