业务组件
<template>
<m-form
ref="form"
:options="options"
label-width="100px"
@on-preview="handlePreview"
@on-remove="handleRemove"
@before-remove="beforeRemove"
@on-exceed="handleExceed"
>
<template #uploadArea>
<el-button type="primary">Click to upload</el-button>
</template>
<template #uploadTip>
<div style="color:#ccc;font-size:12px;">
jpg/png files with a size less than 500KB.
</div>
</template>
<template #action="scope">
<el-button type="primary" @click="submitForm(scope)">
Create
</el-button>
<el-button