refactor: check value different
This commit is contained in:
parent
186d0ee726
commit
1fc44abdb4
1 changed files with 1 additions and 2 deletions
|
|
@ -3825,7 +3825,6 @@ const emptyCreateDialog = ref(false);
|
|||
"
|
||||
:close="
|
||||
() => {
|
||||
customerFormState.drawerModal = false;
|
||||
resetScrollBar('customer-form-content');
|
||||
}
|
||||
"
|
||||
|
|
@ -3847,7 +3846,7 @@ const emptyCreateDialog = ref(false);
|
|||
() => {
|
||||
if (customerFormStore.isFormDataDifferent()) {
|
||||
customerConfirmUnsave();
|
||||
return false;
|
||||
return true;
|
||||
} else {
|
||||
fetchListCustomer();
|
||||
customerFormState.branchIndex = -1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue