用法. 用法非常简单,只需要使用 to 这个属性就可以把组件渲染到想要的位置. // 渲染到body标签下 <teleport to="body"> <div class="modal"> I'm a ...
確定! 回上一頁