refactor: handle value is null

This commit is contained in:
Thanaphon Frappet 2024-11-12 17:49:02 +07:00
parent 829a5d8221
commit f1813f4cca
2 changed files with 3 additions and 6 deletions

View file

@ -1241,8 +1241,6 @@ export const useEmployeeForm = defineStore('form-employee', () => {
type: '',
expireDate: new Date(),
birthDate: new Date(),
updatedAt: new Date(),
createdAt: new Date(),
workerStatus: '',
nationality: '',
gender: '',
@ -1253,7 +1251,6 @@ export const useEmployeeForm = defineStore('form-employee', () => {
firstNameEN: '',
firstName: '',
namePrefix: '',
employeeId: '',
number: '',
});