阅读背景:

spring boot mybatis+ vue 使用POI实现从Excel中批量导入数据

来源:互联网 
一、前端vue+element   1.前端使用element的upload组件来实现文件的上传
          <el-upload style="display: inline-flex;margin-right: 8px" :show-file-list="false" :before-upload="beforeUpload" :on-success="onSuccess" :on-error="onError" accept=".xls" :disabled="importDataButtonDisabled" action="/employee/basic/import"> <el-button :disabled="importDataButtonDisabled" type="success" size="small" :icon="importDataButtonIcon"> {{importDataButtonMsg}} </el-button> </el-upload>



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: