From 06c0dece69b9f68418f424685b0b5ae19fc2ddbb Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Thu, 22 Jul 2021 12:07:33 +0800 Subject: [PATCH] aa --- business/jxstore/event/event_tcp.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 }