Sfoglia il codice sorgente

修改事件日志发送bug

彭宇 2 anni fa
parent
commit
fa94c9a3eb
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      src/views/firespread.vue

+ 3 - 0
src/views/firespread.vue

@@ -1997,6 +1997,9 @@ export default {
     },
 
     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 => {