@@ -28,7 +28,8 @@ export const tableOption = {
prop: 'pic',
type: 'upload',
imgWidth: 150,
- listType: 'picture-img'
+ listType: 'picture-img',
+ slot: true
}, {
label: '状态',
prop: 'status',
@@ -15,6 +15,14 @@
<!-- :disabled="dataListSelections.length <= 0">批量删除</el-button>-->
<!-- </template>-->
+ <template slot-scope="scope"
+ slot="pic">
+ <span class="avue-crud__img" v-if="scope.row.pic">
+ <i :src="scope.row.pic" class="el-icon-document"></i>
+ </span>
+ <span v-else>-</span>
+ </template>
+
<template slot-scope="scope"
slot="status">
<el-tag v-if="scope.row.status === 0"