Use vue3 teleport instead of portal
This commit is contained in:
parent
39e4746f61
commit
dc04c8cbd4
7 changed files with 14 additions and 14 deletions
|
|
@ -76,7 +76,7 @@
|
|||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<portal to="modal">
|
||||
<teleport to="#modal">
|
||||
<confirm-modal
|
||||
v-if="showingConfirmLogout"
|
||||
:title="$t('login.logout_confirm_title')"
|
||||
|
|
@ -87,7 +87,7 @@
|
|||
>
|
||||
{{ $t('login.logout_confirm') }}
|
||||
</confirm-modal>
|
||||
</portal>
|
||||
</teleport>
|
||||
</nav>
|
||||
</template>
|
||||
<script src="./desktop_nav.js"></script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue