فهرست منبع

修复奖扣详情附件图片展示问题

347617796@qq.com 3 سال پیش
والد
کامیت
20a54a9eb6
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      src/main.js
  2. 1 1
      src/views/abPoint/award_punish.vue

+ 1 - 1
src/main.js

@@ -21,7 +21,7 @@ import userImage from '@/components/UserImage'
 Vue.component('userImage', userImage)
 Vue.use(ElementUI);
 if (process.env.NODE_ENV === 'development') {
-  // new VConsole()
+  new VConsole()
 }
 
 Vue.prototype.$echarts = echarts

+ 1 - 1
src/views/abPoint/award_punish.vue

@@ -191,7 +191,7 @@
 				<el-row :gutter="10" v-for="(item, index) in detail_info.detail" :key="index">
 					<el-col :span="4">{{ item.key }}</el-col>
 					<el-col :span="20" v-if="item.key == '附件'">
-						<el-image style="width: 100px; height: 100px" :src="item.value[0]" :preview-src-list="item.value"></el-image>
+						<el-image  style="width: 100px; height: 100px;margin-right:8px" v-for="(item2, index2) in item.value" :key="index2" :src="item2" :preview-src-list="item.value"></el-image>
 					</el-col>
 					<el-col :span="20" v-else>{{ item.value }}</el-col>
 				</el-row>