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