Commit 59009bff by 李乾广

修改bug

1 parent abcbca35
...@@ -251,8 +251,8 @@ ...@@ -251,8 +251,8 @@
特征 特征
</span> </span>
</div> </div>
<el-image v-if="person.imageDisplayType" :src="item.eventPic" :fit="'fill'" class="single-image"></el-image> <el-image v-if="person.imageDisplayType" :error="dataSources==1?'去加载':'加载失败'" :src="item.eventPic" :fit="'fill'" class="single-image"></el-image>
<el-image v-else :src="item.picture_url" :fit="'fill'" class="single-image"></el-image> <el-image v-else :src="item.picture_url" :error="dataSources==1?'去加载':'加载失败'" :fit="'fill'" class="single-image"></el-image>
<div>时间:{{ item.counttime }}</div> <div>时间:{{ item.counttime }}</div>
<div>人员类型:{{ personTypeStr(item.person_type)}}({{ formatChildAdult(item.childAdult) }})</div> <div>人员类型:{{ personTypeStr(item.person_type)}}({{ formatChildAdult(item.childAdult) }})</div>
<div>性别:{{ formatGender(item.gender) }}({{item.age}})</div> <div>性别:{{ formatGender(item.gender) }}({{item.age}})</div>
......
...@@ -181,6 +181,7 @@ ...@@ -181,6 +181,7 @@
</a-popconfirm> </a-popconfirm>
</div> </div>
<el-image :src="item.picture_url" <el-image :src="item.picture_url"
:error="dataSources==1?'去加载':'加载失败'"
:fit="'fill'" :fit="'fill'"
class="single-image" class="single-image"
:style="{'height':imgHeight+'px'}" :style="{'height':imgHeight+'px'}"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!