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

@ -88,7 +88,7 @@
ref="sideDrawer"
:logout="logout"
/>
<portal to="modal">
<teleport to="#modal">
<confirm-modal
v-if="showingConfirmLogout"
:title="$t('login.logout_confirm_title')"
@ -99,7 +99,7 @@
>
{{ $t('login.logout_confirm') }}
</confirm-modal>
</portal>
</teleport>
</div>
</template>