fix: form not clear
This commit is contained in:
parent
543c28e162
commit
80c8a0d8b4
1 changed files with 1 additions and 0 deletions
|
|
@ -965,6 +965,7 @@ export const useEmployeeForm = defineStore('form-employee', () => {
|
||||||
resetEmployeeData = structuredClone(defaultFormData);
|
resetEmployeeData = structuredClone(defaultFormData);
|
||||||
state.value.statusSavePersonal = false;
|
state.value.statusSavePersonal = false;
|
||||||
state.value.profileUrl = '';
|
state.value.profileUrl = '';
|
||||||
|
state.value.currentBranchId = '';
|
||||||
} else {
|
} else {
|
||||||
resetEmployeeData.selectedImage =
|
resetEmployeeData.selectedImage =
|
||||||
currentFromDataEmployee.value.selectedImage;
|
currentFromDataEmployee.value.selectedImage;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue