vant 对于单选和多选的 @change 传递多个参数
时间:2021-09-21 20:40:29
收藏:0
阅读:22
‘ @change="getRadio($event,itemIndex)"
getRadio(event,index){
console.log(event,index)
//output: 这里的event 打印出的是 当前单选或多选所选中的值,而后面的就是当前所在的索引值
},
原文:https://www.cnblogs.com/diligent-noob/p/15310144.html
评论(0)