< el-upload
class="upload-demo"
ref="upload"
action="http://add"
name="Content"
:data="form"
:on-remove="handleRemove"
:on-error="uploadError"
:on-success="uploadSuccess"
:multiple="multiple"
:file-list="fileList"
:on-change="addFile"
: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>
</el-upload>