update

parent 8ca0fa40
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
greedy greedy
@submit.prevent=" @submit.prevent="
$emit('addNewUnit', {}); $emit('addNewUnit', {});
$emit('update:isOpened', false);
" "
> >
<q-card-section class="q-pa-none"> <q-card-section class="q-pa-none">
......
...@@ -463,6 +463,8 @@ export default defineComponent({ ...@@ -463,6 +463,8 @@ export default defineComponent({
method: 'POST', method: 'POST',
data, data,
})) as AxiosResponse<BaseResponseBody<ArtistOwnerAdd[]>>; })) as AxiosResponse<BaseResponseBody<ArtistOwnerAdd[]>>;
if (response.data.error.code === config.API_RES_CODE.OK.code) { if (response.data.error.code === config.API_RES_CODE.OK.code) {
updateUnitDialogIsOpened.value = false; updateUnitDialogIsOpened.value = false;
Notify.create({ Notify.create({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment