<van-tabs @click="getInfo"> <van-tab v-for="(item, i ) in photoList" :key="i" :name="it.id" > </van-tab> </van-tabs> //方法 getInfo(id){ console.log('id',id); }