columns1: [
{
type: 'selection',
width: 60,
align: 'center'
},
{
key: 'id',
width: 60,
align: 'center',
render: (h, params) => {
return h('Radio', {
props: {
value: this.currentChoose == params.row.id
},
on: {
'on-change': () => {
this.currentChoose = params.row.id;
let data = [params.row];
this.tableChange(data);
}
}
})
}
},
{
title: 'Name',
key: 'label'
}
],
iview table 表格左侧单选栏
猜你喜欢
转载自blog.csdn.net/qq_43137725/article/details/103372831
今日推荐
周排行