diff options
| author | Tusooa Zhu <tusooa@kazv.moe> | 2022-04-06 14:54:58 -0400 |
|---|---|---|
| committer | tusooa <tusooa@kazv.moe> | 2023-01-20 23:39:45 -0500 |
| commit | dc04c8cbd48dd8dcfc6b1937663e57983d38562a (patch) | |
| tree | 1d45de83d709f6d7b679e5a2d55a3070afbc10f3 /src/components/extra_buttons/extra_buttons.vue | |
| parent | 39e4746f615970001839309e06a0f13d9613b175 (diff) | |
Use vue3 teleport instead of portal
Diffstat (limited to 'src/components/extra_buttons/extra_buttons.vue')
| -rw-r--r-- | src/components/extra_buttons/extra_buttons.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/extra_buttons/extra_buttons.vue b/src/components/extra_buttons/extra_buttons.vue index 4641947a..c1c15c0f 100644 --- a/src/components/extra_buttons/extra_buttons.vue +++ b/src/components/extra_buttons/extra_buttons.vue @@ -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> |
