|
|
@ -86,12 +86,12 @@ |
|
|
|
ref="upload" |
|
|
|
> |
|
|
|
<i class="el-icon-upload" style="font-size: 58px; color: #c5c9d1"></i> |
|
|
|
<div class="el-upload__text" v-html="$t('upload.text')"></div> |
|
|
|
<div class="el-upload__text" v-html="$t('upload.text')" ></div> |
|
|
|
</el-upload> |
|
|
|
<section v-else class="uploadList"> |
|
|
|
<div v-for="file in fileList" :key="file.id" :file="file" style="display: flex; align-items: center"> |
|
|
|
<span>{{ file.name }}</span> |
|
|
|
<i class="el-icon-close" @click="removeFile(file)" style="cursor: pointer;"></i> |
|
|
|
<el-button type="text" @click="removeFile(file)" style="margin-left: 16px;"> 删除</el-button> |
|
|
|
</div> |
|
|
|
</section> |
|
|
|
</div> |
|
|
|