c7b84eb4 by renchao@pashanhoo.com

1

1 parent 108900bf
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-04 16:07:37
* @LastEditTime: 2023-07-28 12:00:45
-->
<template>
<div class="rlPopup">
......@@ -26,7 +26,7 @@
<el-upload class="fileUpdate" ref="upload" action="" :show-file-list="false" :multiple="true" :auto-upload="false"
:on-change="handleChange"
accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg" :before-upload="beforeUpload">
<el-button icon="el-icon-upload" type="primary" v-if="ableOperation">上传</el-button>
<el-button icon="el-icon-upload" type="primary" v-if="ableOperation">上传1</el-button>
</el-upload>
<el-button type="primary" icon="el-icon-delete-solid" @click="handleDelete"
v-if="thumbnailImages.length>0 && ableOperation">删除</el-button>
......@@ -253,8 +253,8 @@
* @author: renchao
*/
async handleChange (file, files) {
// 清空 fileList 数组
debugger
// 清空 fileList 数组
let length = files.length;
this.maxLength = Math.max(length, this.maxLength)
this.$refs.upload.clearFiles();
......