<el-upload
class="excel-upload"
action=""
:auto-upload="false
show-file-list="false
on-change="Filechange
name="file"
:file-list="fileList'
<el-button type="primary">导入Excel/el-button>
/el-upload
//选择文件时方法
Filechange(file){
let xls
<el-upload
class="excel-upload"
action=""
:auto-upload="false
show-file-list="false
on-change="Filechange
name="file"
:file-list="fileList'
<el-button type="primary">导入Excel/el-button>
/el-upload
//选择文件时方法
Filechange(file){
let xls