vxetable使用时,即需要传自己的参数,还需要使用框架原有参数

例如普通调用时只需要传入  change="changeBtnTypeOpenx(index,$rowIndex)"

当需要传入默认返回的值时,则采用  change="changeBtnTypeOpenx($event,index,$rowIndex)" 注意调用时增加了$event参数。

同样在被调用的函数里要接收这些参数 changeBtnTypeOpenx(event, index, rowIndex) {……}

posted @ 2023-10-05 21:14  马克部落格  阅读(124)  评论(0编辑  收藏  举报