el-upload 点击阻止弹窗
<el-upload class="upload-file-demo" style="margin-top: 20px;" action="/api/admin/other/upload/filed" ref="cert_uploadComp" :auto-upload="true" :show-file-list='true' :file-list="cert_certificates" :before-upload="beforeUpload" :on-change="handlePictureCardPreview" :on-success="handleuploadsuccess.bind(null, {'index': index})" :on-exceed="handleExceed" :on-remove="cert_handleRemove.bind(null, {'index': index})" :limit="2" :disabled="cert_loading" accept=".jpg,.jpeg,.png" :data="cert_uploadData"> <div slot="tip" class="el-upload__tip" style="position: absolute;top: 7px;left: 15px;color: #AFAFAF;">{{$t('home.Photosholdingmorethan25shares')}}</div> <el-button :loading="cert_loading" class="" size="small" type="primary">{{$t('home.Selectfile')}}</el-button> <i slot="tip" @click="delMorethan25Data(index)" class="el-icon-minus dels"/> </el-upload>
注: slot="tip"