From f089f9450a848bfc4176c7ee27a67820597fec8e Mon Sep 17 00:00:00 2001 From: zhongjin Date: Tue, 9 May 2023 23:11:41 +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 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/client/src/orangehrmPimPlugin/pages/employee/EmployeePersonalDetails.vue b/src/client/src/orangehrmPimPlugin/pages/employee/EmployeePersonalDetails.vue index 5b8248f..47f1045 100644 --- a/src/client/src/orangehrmPimPlugin/pages/employee/EmployeePersonalDetails.vue +++ b/src/client/src/orangehrmPimPlugin/pages/employee/EmployeePersonalDetails.vue @@ -339,9 +339,7 @@ export default { .request({ method: 'PUT', data: { - lastName: this.employee.lastName === '' - ? ' ' - : this.employee.lastName, + lastName: this.employee.lastName + '', firstName: this.employee.firstName, middleName: this.employee.middleName, employeeId: this.employee.employeeId,