element 上传过程中不可重复点击按钮不弹窗

          v-if="typeid==null"
          class="upload-demo"
          action="/data-service/FileUploadAction/houseManager"
          accept=".xls, .xlsx"
          :data="uploadData"
          :headers="uploadHeaders"
          :show-file-list="false"
          :on-progress="uploading"
          :on-success="uploadSuccess"
        >
          客户分配
          客户分配
         

支持扩展名:Excel

       

uploading() {
      this.cusLoading = true;
    },
    uploadSuccess(response, file, fileList) {
      if (response.success === true) {
        this.$message.success(response.msg);
        this.search();
        this.cusLoading = false;
      }else{
        this.cusLoading = false;
        this.$message.error(response.msg);
      }
    },

你可能感兴趣的:(element,前端)