Vue踩坑记 关于scope-slot 这里有个大坑, <div class="slot-item"> <slot name="item" :item="item" :index="index"></slot> </div> 若<div class=“slot-item”>加了个v-if=“$slot.item”,会失效,待定位。