🐛(component): [teleportWrapper]修复渲染时机

This commit is contained in:
sight 2022-09-10 22:40:24 +08:00
parent b826124c92
commit c00657554f

View File

@ -34,7 +34,7 @@ onMounted(() => {
});
</script>
<template>
<Teleport :to="target" v-if="target" :disabled="!target || disabled">
<Teleport :to="target" :disabled="!target || disabled">
<slot></slot>
</Teleport>
</template>