🐛(component): [teleportWrapper]修复渲染时机
This commit is contained in:
parent
b826124c92
commit
c00657554f
@ -34,7 +34,7 @@ onMounted(() => {
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<Teleport :to="target" v-if="target" :disabled="!target || disabled">
|
<Teleport :to="target" :disabled="!target || disabled">
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
</Teleport>
|
</Teleport>
|
||||||
</template>
|
</template>
|
||||||
|
Loading…
Reference in New Issue
Block a user