fix: no clearData After closing
This commit is contained in:
parent
d17c9f7d96
commit
9a0cff42dd
1 changed files with 6 additions and 0 deletions
|
|
@ -413,6 +413,12 @@ watch(modal, () => {
|
|||
}
|
||||
});
|
||||
|
||||
watch(modalDrawer, () => {
|
||||
if (!modalDrawer.value) {
|
||||
clearData();
|
||||
}
|
||||
});
|
||||
|
||||
function triggerCreate(
|
||||
type: 'headOffice' | 'subBranch',
|
||||
id?: string,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue