<div class="importPDF">
<el-dialog
title="PDF数据导入"
:visible.sync = showDataImportDialog
center
width="35%" style="left: 10%">
<div>
<label style="font-weight: bold;margin-right: 10px;">文 件:</label>
<el-input v-model="fileName" size="mini" style="width:52%; margin-left: 18px"></el-input>
<el-upload
class="upload-demo"
ref="upload"
action="/pdf/upload"
:show-file-list="false"
:before-upload="beforeUpload">
<el-button slot="trigger" size="mini" type="danger">选取文件</el-button>
</el-upload>
<el-form ref="pdfForm" :model="pdfForm" >
VUE PDF文件上传、预览
最新推荐文章于 2024-07-16 02:25:27 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)