elementui 上传excel文件并携带自定义参数
<el-form-item label="Excel文件:" prop="file">
<el-upload
class="upload-demo"
ref="upload"
multiple
accept=".xlsx"
action=""
:with-credentials="true"
:http-request="httpRequest"
:on-preview="handlePreview"
:on-remove="handleRemove"
:on-change="fileChange"
:on-success="upFile"
:file-list="fileList"
:data="groupForm"
:auto-upload="false">
<el-button slot="trigger" size="small" type="primary">选取文件<