|
|
|
@ -50,9 +50,9 @@ async function handleSubmit() {
|
|
|
|
|
<BasicModal |
|
|
|
|
v-bind="$attrs" |
|
|
|
|
:title="isUpdate ? t('action.edit') : t('action.create')" |
|
|
|
|
:after-close="() => isUpdate = false" |
|
|
|
|
@register="registerModal" |
|
|
|
|
@ok="handleSubmit" |
|
|
|
|
@cancel="isUpdate = false" |
|
|
|
|
> |
|
|
|
|
<BasicForm @register="registerForm" /> |
|
|
|
|
</BasicModal> |
|
|
|
|