{
title: "商品图",
key: "photo",
render: (h, params) => {
console.log(params.row)
return h('div', {
attrs: {
style: 'width: 40px;height: 40px;'
},
}, [
h('img', {
props: {
type: 'primary',
size: 'small'
},
attrs: {
src: require("../../assets/img/logo.png")
},
style: {
},
}),
]);
}
}
网友评论