refactor: header Change status branch

This commit is contained in:
Net 2024-09-23 14:27:42 +07:00
parent 4f754d3518
commit a0c48c0e68

View file

@ -402,6 +402,9 @@ const prevFormBankBook = ref<BankBook[]>(defaultFormBankBook);
const modalDrawer = ref<boolean>(false);
function openDrawer() {
prevFormData.value = JSON.parse(JSON.stringify(formData.value));
prevFormBankBook.value = JSON.parse(JSON.stringify(formBankBook.value));
modalDrawer.value = true;
}
@ -577,8 +580,6 @@ function drawerEdit() {
isQrCodeEdit.value = true;
isImageEdit.value = true;
formType.value = 'edit';
prevFormData.value = JSON.parse(JSON.stringify(formData.value));
prevFormBankBook.value = JSON.parse(JSON.stringify(formBankBook.value));
}
const currentBranchAdmin = ref<User | null>(null);