h('Dropdown', {
style: {
marginLeft: '5px'
},
on: { 'on-click': (value) => {
console.log(value)
}
}
}, [
h('div', {
class: {
member_operate_div: true
}
}, [
h('Button', {
props: {
type: 'primary',
size: 'small'
}
}, [
h('span', '更多'),
h('Icon', {
props: {
type: 'arrow-down-b'
},
style: {
marginLeft: '5px'
}
})
])
]),
h('DropdownMenu', {
slot: 'list'
}, [
h('DropdownItem', {
props: {
name: 'edit'
}
}, [
h('Button', {
props: {
type: 'primary',
size: 'small'
},
style: {
display: 'inline-block',
width: '76px'
},
on: {
click: () => {
this.openEditUserDialog(params.row, params.index)
}
}
}, '编辑')
])
])
])