render: (h, params) => {
return h('Select', {
on: {
'on-change': (value) => {
consle.log('change value', value);
}
}
})
}
render: (h, params) => {
return h('div', [
h('span', {style: {marginRight: '5px'},}, '自动更新'),
h('i-switch', {
props: {
value: params.row.autoUpdate //控制switch开关 true|| false
}
style: {marginRight: '5px'},
on: {
'on-change': () => {
this.changeRateSettingss(params.index)
}
}
}),
h('Button', {
props: {type: 'primary',size: 'small'},
style: {marginRight: '5px'},
on: {
click: () => {
this.changeRateSettingss(params.index)
}
}
}, this.$t('liveRate_lang.btn.edit')),
]);
}