@ -889,7 +889,7 @@
<el-table-column prop="create_time" label="签到时间" align="center"></el-table-column>
<el-table-column prop="img" label="签到图片" align="center">
<template slot-scope="scope">
<img :src="getImgurl(scope.row.img)" style="height: 40px; width: 40px" />
<img :src="getImgurl(scope.row.img)" style="height: 40px; width: 40px" v-if="scope.row.img" />
</template>
</el-table-column>
@ -845,7 +845,8 @@ if(searchStr){
}
},
getImgurl: function (url) {
return httpRequest.getImgUrl(url);
var imgUrl=url&& url.split(',')[0]
return httpRequest.getImgUrl(imgUrl);
reset: function () {
if (this.tabsId == 1) {