< el-upload
class="upload-demo"
ref="upload"
action="http://localhost:8090/opus/add"
:data="mage"
:on-exceed="handleExceed"
:on-preview="handlePreview"
:on-remove="handleRemove"
:file-list="fileList"
:auto-upload="false">
<el-button slot="trigger" size="small" type="primary"></el-button>
<el-button style="margin-left: 10px;" size="small" type="success" @click="submitUpload"></el-button>
<div slot="tip" class="el-upload__tip">jpg/png500kb</div>
</el-upload>