diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index d52082562..f44c7e20b 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -377,8 +377,7 @@ func HandleTcpMessages() { dao.UpdateEntity(db, printMsg, "Status") Loop: for { - select { - case data, _ := <-printMsgCallbackChan: + if data, _ := <-printMsgCallbackChan; data != "" { changePrintMsg(data) break Loop }