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

@ -165,7 +165,7 @@
/>
</FALayers>
</span>
<portal to="modal">
<teleport to="#modal">
<ConfirmModal
v-if="showingDeleteDialog"
:title="$t('status.delete_confirm_title')"
@ -176,7 +176,7 @@
>
{{ $t('status.delete_confirm') }}
</ConfirmModal>
</portal>
</teleport>
</template>
</Popover>
</template>