Ver código fonte

检查任务详情,图片显示错误

jiawuxian 2 anos atrás
pai
commit
d18ee36239

+ 2 - 1
src/views/safetycheck/taskManager/components/register.vue

@@ -139,7 +139,7 @@
                         style="width: 100px; height: 100px;margin:10px;"
                         v-if="point.imgData"
                         v-for="url in point.imgData"
-                        :src="url"
+                        :src="url.imgPath"
                         :preview-src-list="point.imgData.map((d) => d.imgPath)"
                       >
                       </el-image></div
@@ -412,6 +412,7 @@ export default {
   border: #B8BDC0 1px solid;
   display: flex;
   flex-direction: row;
+  width:100%;
 }
 
 .content > .area_content:first-child {