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

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

parent 84e2dac6
...@@ -57,7 +57,7 @@ export default { ...@@ -57,7 +57,7 @@ export default {
// 文件类型, 例如['png', 'jpg', 'jpeg'] // 文件类型, 例如['png', 'jpg', 'jpeg']
fileType: { fileType: {
type: Array, type: Array,
default: () => ["doc", "xls", "ppt", "txt", "pdf"], default: () => ["doc", "xls", "ppt", "txt", "pdf",'png', 'jpg', 'jpeg'],
}, },
// 是否显示提示 // 是否显示提示
isShowTip: { isShowTip: {
......
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
@click="checkFile(scope.row.orgFilePath)" @click="checkFile(scope.row.orgFilePath)"
v-if="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> </span>
</template> </template>
</el-table-column> </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