Use vue3 teleport instead of portal

This commit is contained in:
Tusooa Zhu 2022-04-06 14:54:58 -04:00 committed by tusooa
commit dc04c8cbd4
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
7 changed files with 14 additions and 14 deletions

View file

@ -59,7 +59,7 @@
>
{{ status.repeat_num }}
</span>
<portal to="modal">
<teleport to="#modal">
<confirm-modal
v-if="showingConfirmDialog"
:title="$t('status.repeat_confirm_title')"
@ -70,7 +70,7 @@
>
{{ $t('status.repeat_confirm') }}
</confirm-modal>
</portal>
</teleport>
</div>
</template>