Use vue3 teleport instead of portal
This commit is contained in:
parent
39e4746f61
commit
dc04c8cbd4
7 changed files with 14 additions and 14 deletions
|
|
@ -7,7 +7,7 @@
|
|||
@click="onClick"
|
||||
>
|
||||
{{ label }}
|
||||
<portal to="modal">
|
||||
<teleport to="#modal">
|
||||
<confirm-modal
|
||||
v-if="showingConfirmUnfollow"
|
||||
:title="$t('user_card.unfollow_confirm_title')"
|
||||
|
|
@ -26,7 +26,7 @@
|
|||
/>
|
||||
</i18n>
|
||||
</confirm-modal>
|
||||
</portal>
|
||||
</teleport>
|
||||
</button>
|
||||
</template>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue