How to display the current picture in swiper in vue?

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.

for
ps:
Mar.19,2021

swiper has slideChangeEnd, to change current_index in slideChangeEnd

Menu