vxetable使用时,即需要传自己的参数,还需要使用框架原有参数
例如普通调用时只需要传入 change="changeBtnTypeOpenx(index,$rowIndex)"
当需要传入默认返回的值时,则采用 change="changeBtnTypeOpenx($event,index,$rowIndex)" 注意调用时增加了$event参数。
同样在被调用的函数里要接收这些参数 changeBtnTypeOpenx(event, index, rowIndex) {……}
例如普通调用时只需要传入 change="changeBtnTypeOpenx(index,$rowIndex)"
当需要传入默认返回的值时,则采用 change="changeBtnTypeOpenx($event,index,$rowIndex)" 注意调用时增加了$event参数。
同样在被调用的函数里要接收这些参数 changeBtnTypeOpenx(event, index, rowIndex) {……}