<!-- <el-upload
class="specialinput"
ref="imgUpload"
:action="this.paidanurl + this.paidanport + '/api/Dispatch/UploadImage?flowid='+ this.operaInfo.flowid + '&recordid=' + this.recordid"
:headers="headers"
list-type="picture-card"
:auto-upload="false"
:before-upload="beforeLogoUpload"
:on-change="handleUploadChange"
:on-exceed="handleExceed"
:on-error="handleUploadFail"
:file-list="imgList"
multiple
:limit="4">
<i class="el-icon-plus"></i>
</el-upload> -->
// //图片变更
// handleUploadChange:function(file, imgList){
// var _file = file.raw;
// this.beforeAvatarUploadValidate = this.beforeLogoUpload(_file);
// },
// //logo上传失败时的钩子
// handleUploadFail(err) {
// this.$message.error(err)
// },
// //图片超出限制
// handleExceed(files, imgList) {
// this.$message.warning("最多上传4张图片");
// },
// //图片上传前校验
// beforeLogoUpload(file) {
// const isJPG = (file.type === 'image/png' || file.type === 'image/jpeg');
// const isLt2M = file.size / 1024 / 1024 < 2;
// console.log(file,file.size / 1024 / 1024,isLt2M,'======图片上传前校验')
// if (!isJPG) {
// this.$message.error('上传图片只能是 JPG 或 PNG 格式!');
// }
// if (!isLt2M) {
// this.$message.error('上传图片大小不能超过 2MB!');
// }
// return isJPG && isLt2M;
// },