chore: 优化上传组件

This commit is contained in:
JaguarJack
2023-05-16 10:39:39 +08:00
parent 2772c3322f
commit 960576e286
2 changed files with 36 additions and 4 deletions

View File

@@ -1,4 +1,3 @@
<el-form-item label="{label}" prop="{prop}">
<Upload action="upload/image" :show-file-list="false" name="image" :on-success="uploadSuccess">
</Upload>
<Upload v-model="{model-value}" />
</el-form-item>