管道基础大数据平台系统开发-【前端】-新系統界面
surprise
2024-03-29 98a2b24c89e81a5aacdcbd6b739fef422adf17dd
src/views/datamanage/dataUpdata.vue
@@ -1972,12 +1972,12 @@
      var fs2 = null;
      if (this.formInline.uploadType == "v1") {
        //单文件项目上传
        fs2 = document.getElementById("metaDataFile");
        if (this.pathBak != null && this.pathBak.indexOf("checkMain") > -1) {
          if (fs2.files.length == 0) {
            return this.$message.error("请选择需要上传的元数据文件");
          }
        }
        //     fs2 = document.getElementById("metaDataFile");
        //   if (this.pathBak != null && this.pathBak.indexOf("checkMain") > -1) {
        //   if (fs2.files.length == 0) {
        //   return this.$message.error("请选择需要上传的元数据文件");
      // }
    // }
      } else if (this.formInline.uploadType == "v2") {
        //整体项目上传
        fs2 = document.getElementById("wbsDataFile");