优化图片和文件上传

This commit is contained in:
季圣华
2021-07-02 21:00:40 +08:00
parent ae00d062b2
commit 29b2959bdc
6 changed files with 56 additions and 11 deletions

View File

@@ -797,8 +797,8 @@
</template>
<template v-if="fileList.length>0">
<a-row class="form-row" :gutter="24">
<a-col :span="8">
<a-form-item :labelCol="{xs: { span: 24 },sm: { span: 4 }}" :wrapperCol="{xs: { span: 24 },sm: { span: 20 }}" label="附件">
<a-col :span="10">
<a-form-item :labelCol="{xs: { span: 24 },sm: { span: 3 }}" :wrapperCol="{xs: { span: 24 },sm: { span: 21 }}" label="附件">
<ul style="list-style-type:none">
<li v-for="(item,index) in fileList" :key="index">
<a :href="item.url" target="_blank">{{item.name}}</a>
@@ -806,7 +806,7 @@
</ul>
</a-form-item>
</a-col>
<a-col :span="16"></a-col>
<a-col :span="14"></a-col>
</a-row>
</template>
</a-form>