fix: reset not working on create after view
This commit is contained in:
parent
3bc1703873
commit
a90e3f1268
1 changed files with 0 additions and 1 deletions
|
|
@ -554,7 +554,6 @@ export const useEmployeeForm = defineStore('form-employee', () => {
|
||||||
state.value.formDataEmployeeOwner = undefined;
|
state.value.formDataEmployeeOwner = undefined;
|
||||||
resetEmployeeData = structuredClone(defaultFormData);
|
resetEmployeeData = structuredClone(defaultFormData);
|
||||||
state.value.statusSavePersonal = false;
|
state.value.statusSavePersonal = false;
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
currentFromDataEmployee.value = structuredClone(resetEmployeeData);
|
currentFromDataEmployee.value = structuredClone(resetEmployeeData);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue