Explorar o código

云图-事件详情-发送修改

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

+ 3 - 0
src/views/eventdetailsdialog.vue

@@ -2103,6 +2103,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 => {