fix: clear form when close without submit
This commit is contained in:
parent
e06abf1e77
commit
856b38ebea
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue