情景:上传视频的同时需要传递一些其它参数 与表单一起
<el-form-item label="上传视频" prop="video">
<el-upload
action="https://jsonplaceholder.typicode.com/posts/"
:http-request="getFile"
:limit="1"
:on-exceed="handleExceed"
:on-remove="handleRemove"
ref="uploaddemo"
>
<el-button size="small" type="primary">上传</el-button>
</el-upload>
</el-form-item>
<span>
<el-button
size="small"
type="success"
class="confirmUpload"
@click=