on the Nine Palace Picture Collection on the parent component, click on one of the pictures and pass two counselors to the pop-up component: imgs and current_index. Show the original picture set:
<Swiper ref="swiper">
<Slide v-for="(item,index) in imgs" :key=index>
<img :src="item" />
</Slide>
</Swiper>
however, in the subcomponents, pictures all start with index=0, not the current picture current_index. https://github.com/weilao/vue.
forps: