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