调整盲板显示

This commit is contained in:
Vce 2024-05-17 07:46:40 +08:00
parent a72f728c93
commit bfa2d1f22e

View File

@ -189,7 +189,7 @@
</el-form-item>
<el-form-item label="盲板位置图:" :label-width="formLabelWidthDetail">
<span class="value" v-if="workDetail.blindPlatePic && JSON.parse(workDetail.blindPlatePic).length > 0"
style="display: flex;justify-content:center;word-wrap: break-word;white-space: normal; flex-wrap: wrap">
style="display: flex;justify-content:flex-start;word-wrap: break-word;white-space: normal; flex-wrap: wrap">
<div v-for="(item,index) in JSON.parse(workDetail.blindPlatePic)" :key="index" style="">
<img :preview="item ? $store.state.FILEURL + item.url : ''"
:src="item ? $store.state.FILEURL + item.url : ''" alt="" width="50px" height="50px" style="margin-right: 10px;"/>