Transfer 中增加事件,比如tooltip,如下源码
`renderFunc(h, option) {
const that = this
return h(
'span', {
attrs: {
id: option.label
},
domProps: {
innerHTML: option.label
},
on: {
click: function() {
that.$alert(option.help_text, option.label)
}
}
}
)
},`