File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 30
30
<el-table-column :show-overflow-tooltip =" true" label =" 文件路径" align =" center" min-width =" 300" prop =" path" />
31
31
<el-table-column :show-overflow-tooltip =" true" label =" 文件 URL" align =" center" min-width =" 400" prop =" url" />
32
32
<el-table-column label =" 文件大小" align =" center" prop =" size" width =" 120" :formatter =" sizeFormat" />
33
- <el-table-column label =" 文件类型" align =" center" prop =" mimeType" width =" 210" />
34
- <el-table-column label =" 文件扩展名" align =" center" prop =" extName" width =" 80" />
33
+ <el-table-column label =" 文件类型" align =" center" prop =" type" width =" 210" />
35
34
<!-- <el-table-column label="文件内容" align="center" prop="content">-->
36
35
<!-- <template slot-scope="scope">-->
37
- <!-- <img v-if="scope.row.extName === 'jpg' || scope.row.extName === 'png' || scope.row.extName === 'gif' "-->
36
+ <!-- <img v-if="scope.row.type&& scope.row.type.indexOf('image/') === 0 "-->
38
37
<!-- width="200px" :src="getFileUrl + scope.row.id">-->
39
38
<!-- <i v-else>非图片,无法预览</i>-->
40
39
<!-- </template>-->
@@ -101,8 +100,7 @@ export default {
101
100
queryParams: {
102
101
pageNo: 1 ,
103
102
pageSize: 10 ,
104
- path: null ,
105
- extName: null ,
103
+ path: null
106
104
},
107
105
// 用户导入参数
108
106
upload: {
You can’t perform that action at this time.
0 commit comments