fix: no clearData After closing

This commit is contained in:
Net 2024-09-04 10:22:36 +07:00
parent d17c9f7d96
commit 9a0cff42dd

View file

@ -413,6 +413,12 @@ watch(modal, () => {
}
});
watch(modalDrawer, () => {
if (!modalDrawer.value) {
clearData();
}
});
function triggerCreate(
type: 'headOffice' | 'subBranch',
id?: string,