fix: reset

This commit is contained in:
Methapon2001 2024-08-06 09:37:32 +07:00
parent fcee41eaf9
commit f97b78187d

View file

@ -71,6 +71,8 @@ export const useCustomerForm = defineStore('form-customer', () => {
currentFormData.value = structuredClone(defaultFormData);
currentFormData.value.registeredBranchId =
branchStore.currentMyBranch?.id || '';
resetFormData = structuredClone(defaultFormData);
resetFormData.registeredBranchId = branchStore.currentMyBranch?.id || '';
return;
}