Commit 26ed1a28 authored by 王晓倩's avatar 王晓倩

上传文件类型添加图片类型

parent 84e2dac6
......@@ -57,7 +57,7 @@ export default {
// 文件类型, 例如['png', 'jpg', 'jpeg']
fileType: {
type: Array,
default: () => ["doc", "xls", "ppt", "txt", "pdf"],
default: () => ["doc", "xls", "ppt", "txt", "pdf",'png', 'jpg', 'jpeg'],
},
// 是否显示提示
isShowTip: {
......
......@@ -86,7 +86,7 @@
@click="checkFile(scope.row.orgFilePath)"
v-if="scope.row.orgFilePath != ''"
>
<i class="el-icon el-icon-view"></i>查看/下载
<i class="el-icon el-icon-view"></i>查看
</span>
</template>
</el-table-column>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment