|
@@ -26,9 +26,9 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<!-- <el-table-column prop="fileId" label="文件id"> -->
|
|
<!-- <el-table-column prop="fileId" label="文件id"> -->
|
|
<!-- </el-table-column> -->
|
|
<!-- </el-table-column> -->
|
|
- <el-table-column align="left" prop="fileUrl" label="文件缩略图">
|
|
|
|
|
|
+ <el-table-column align="center" prop="fileUrl" label="文件缩略图">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <div style="width:250px">
|
|
|
|
|
|
+ <div style="width:250px;margin: auto;">
|
|
|
|
|
|
<el-image v-if="getFileType(scope.row) == 'image'" :src="scope.row.fileUrl"
|
|
<el-image v-if="getFileType(scope.row) == 'image'" :src="scope.row.fileUrl"
|
|
:preview-src-list="[scope.row.fileUrl]"></el-image>
|
|
:preview-src-list="[scope.row.fileUrl]"></el-image>
|