Explorar o código

修改事件日志发送bug

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

+ 3 - 0
src/views/firespread.vue

@@ -1996,6 +1996,9 @@ export default {
       return data.label.indexOf(value) !== -1
     },
     sendEventLog() {
+      if( this.eventLog == '' || this.eventLog == null ){
+        return;
+      }
       //日志发送
       let param = { eventCode: this.eventCode, logContent: this.eventLog,operation:"bus_oper_type_2",operationType:"log_oper_type_1"}
       sendEventLog(param).then(res => {