为什么我使用 @select="selects(obj)"定义方法,
<xlbsh-swiper :imgList="imgs" :isDots="false" :autoplay="false" @select="selects(obj)"></xlbsh-swiper>
methods: {  
        selects(obj){  
            console.log(obj,33333); //undefined 33333  
        }  
这是为什么?
            
            
            
            
1 个回复
居家居士 - 自由代码人,号居家居士
图片列表格式是否正确呢,附上完整代码看看