1
Showing
1 changed file
with
3 additions
and
3 deletions
| 1 | <!-- | 1 | <!-- | 
| 2 | * @Description: | 2 | * @Description: | 
| 3 | * @Autor: renchao | 3 | * @Autor: renchao | 
| 4 | * @LastEditTime: 2023-07-04 16:07:37 | 4 | * @LastEditTime: 2023-07-28 12:00:45 | 
| 5 | --> | 5 | --> | 
| 6 | <template> | 6 | <template> | 
| 7 | <div class="rlPopup"> | 7 | <div class="rlPopup"> | 
| ... | @@ -26,7 +26,7 @@ | ... | @@ -26,7 +26,7 @@ | 
| 26 | <el-upload class="fileUpdate" ref="upload" action="" :show-file-list="false" :multiple="true" :auto-upload="false" | 26 | <el-upload class="fileUpdate" ref="upload" action="" :show-file-list="false" :multiple="true" :auto-upload="false" | 
| 27 | :on-change="handleChange" | 27 | :on-change="handleChange" | 
| 28 | accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg" :before-upload="beforeUpload"> | 28 | accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg" :before-upload="beforeUpload"> | 
| 29 | <el-button icon="el-icon-upload" type="primary" v-if="ableOperation">上传</el-button> | 29 | <el-button icon="el-icon-upload" type="primary" v-if="ableOperation">上传1</el-button> | 
| 30 | </el-upload> | 30 | </el-upload> | 
| 31 | <el-button type="primary" icon="el-icon-delete-solid" @click="handleDelete" | 31 | <el-button type="primary" icon="el-icon-delete-solid" @click="handleDelete" | 
| 32 | v-if="thumbnailImages.length>0 && ableOperation">删除</el-button> | 32 | v-if="thumbnailImages.length>0 && ableOperation">删除</el-button> | 
| ... | @@ -253,8 +253,8 @@ | ... | @@ -253,8 +253,8 @@ | 
| 253 | * @author: renchao | 253 | * @author: renchao | 
| 254 | */ | 254 | */ | 
| 255 | async handleChange (file, files) { | 255 | async handleChange (file, files) { | 
| 256 | // 清空 fileList 数组 | ||
| 257 | debugger | 256 | debugger | 
| 257 | // 清空 fileList 数组 | ||
| 258 | let length = files.length; | 258 | let length = files.length; | 
| 259 | this.maxLength = Math.max(length, this.maxLength) | 259 | this.maxLength = Math.max(length, this.maxLength) | 
| 260 | this.$refs.upload.clearFiles(); | 260 | this.$refs.upload.clearFiles(); | ... | ... | 
- 
Please register or sign in to post a comment