本节:element获取服务器的图片
1.div,用element写内容,不是和数组一样,循环指向就可以导出图片,而是需要用<template slot-scope= "scope">标签,加上服务器地址+scope.row.数组具体指向,才可以导出图片。
<el-table-column prop="address" label="图片">
<template slot-scope="scope"><img style="width:50px;height:50px" :src="'http://www.yhjtp.com:8761/'+scope.row.covers"/>
</template>
</el-table-column>