修改默认图片

dev
夜笙歌 1 year ago
parent bbdc214485
commit dcab93c9e6

@ -57,10 +57,10 @@
<el-table v-if="show" :cell-style="setStyle"
:data="tableData" :header-cell-style="{ textAlign: 'center',backgroundColor:'#0a457d' }"
style="width: 100%;margin-top: 12px;">
<el-table-column v-for="i in deviceDataColumns" :label="i.columnName" :prop="i.columnKey">\
<el-table-column v-for="i in deviceDataColumns" :label="i.columnName" :prop="i.columnKey">
<template slot-scope="scope">
<el-image
v-if="scope.row[i.columnKey].includes('http')"
v-if="scope.row[i.columnKey].toString().includes('http')"
style="width: 100px; height: 100px"
:src="scope.row[i.columnKey]"
:preview-src-list="[scope.row[i.columnKey]]">

Loading…
Cancel
Save