|
@@ -409,6 +409,25 @@ export default {
|
|
|
</div>
|
|
|
)
|
|
|
}
|
|
|
+ } else if (item.jname === 'imageUrl') {
|
|
|
+ defaultData.render = (h, { row, index, column }) => {
|
|
|
+ return (
|
|
|
+ <div style="padding:0 6px;cursor: pointer;">
|
|
|
+ {row.imageUrl
|
|
|
+ ? row.imageUrl
|
|
|
+ .split(',')
|
|
|
+ .map(url => (
|
|
|
+ <el-image
|
|
|
+ src={this.$showImgUrl(url)}
|
|
|
+ preview-src-list={[this.$showImgUrl(url)]}
|
|
|
+ fit="fit"
|
|
|
+ style="width:80px;height:80px;"
|
|
|
+ />
|
|
|
+ ))
|
|
|
+ : null}
|
|
|
+ </div>
|
|
|
+ )
|
|
|
+ }
|
|
|
}
|
|
|
return defaultData
|
|
|
},
|