fix: reset
This commit is contained in:
parent
fcee41eaf9
commit
f97b78187d
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue