Explorar o código

请选择上传文件

qinhouyu %!s(int64=2) %!d(string=hai) anos
pai
achega
3d791334d7
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/views/eventLogUpload.vue

+ 3 - 0
src/views/eventLogUpload.vue

@@ -128,6 +128,9 @@ export default {
           let file={attachPath:this.fileList[i].url,fileName:this.fileList[i].webName,busIndx: "bus_indx_forest",busSource: "PC"}
           fileUrl.push(file)
         }
+      }else{
+        that.$message.error(`请选择上传文件!`)
+        return
       }
       let param={ eventCode:this.eventCode,operation:"bus_oper_type_2",operationType:"log_oper_type_1",fileList:fileUrl}
       //日志文件上传