“`”

简单来说,假如父组件需要在子组件内放一些D〇M,那么这些DOM是显示、不显示、在哪 个地方显示、如何显示,就是slot分发负责的活。
详细参考:<a class=""url"" href=""http://cn.vueis.orq/v2/quide/comp"" target=""_blank"">http://cn.vueis.orq/v2/quide/comp</a>〇nents.html#使用一Slot一分发内容

 

<pre><code> "“`

Was this helpful?

0 / 0

发表回复 0

Your email address will not be published.