fix: clear form when close without submit

This commit is contained in:
puriphatt 2024-06-24 09:07:06 +00:00
parent e06abf1e77
commit 856b38ebea

View file

@ -1395,7 +1395,7 @@ watch(currentStatus, async () => {
noAddress
:title="$t('addProduct')"
:submit="() => (productMode === 'type' ? submitType() : submitGroup())"
:close="() => {}"
:close="clearFormGroup"
>
<template #information>
<BasicInformation
@ -1441,6 +1441,7 @@ watch(currentStatus, async () => {
no-footer
no-app-box
max-width="80%"
:close="() => (dialogProductServiceType = false)"
>
<template #body>
<div class="row q-gutter-xl q-pa-sm">
@ -1694,6 +1695,7 @@ watch(currentStatus, async () => {
"
:close="
() => {
clearFormService();
dialogService = false;
}
"