From 43c214277fcaec1ff947377828b318759cb87534 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Tue, 9 May 2023 23:07:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'src/client/src/orangehrmP?= =?UTF-8?q?imPlugin/pages/employee/EmployeePersonalDetails.vue'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/employee/EmployeePersonalDetails.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/orangehrmPimPlugin/pages/employee/EmployeePersonalDetails.vue b/src/client/src/orangehrmPimPlugin/pages/employee/EmployeePersonalDetails.vue index eb6a59c..31e8f1b 100644 --- a/src/client/src/orangehrmPimPlugin/pages/employee/EmployeePersonalDetails.vue +++ b/src/client/src/orangehrmPimPlugin/pages/employee/EmployeePersonalDetails.vue @@ -339,7 +339,7 @@ export default { .request({ method: 'PUT', data: { - lastName: this.employee.lastName.length > 0 ? this.employee.lastName : ' ', + lastName: this.employee.lastName === '' ? ' ' : this.employee.lastName, firstName: this.employee.firstName, middleName: this.employee.middleName, employeeId: this.employee.employeeId,