2020-06-27 2020-06-27 本文已影响0人 咫尺天涯_926d 对于插槽的话,无非就是父组件里面的内容想在子组件中显示,在父组件中 <div slot="xixi"></div> 然后在子组件中 <slot name="xixi"></slot> 就行了: