From df4b2ad904f47ca77a726109f509b35d662d9cee Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Thu, 22 Jul 2021 10:49:02 +0800 Subject: [PATCH] aa --- business/jxstore/event/event_tcp.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index 6293ce011..02072d24f 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -376,12 +376,13 @@ func HandleTcpMessages() { for { select { case obj, _ := <-printMsgChan: - if _, ok := obj.(*model.PrintMsg); !ok { + if _, ok := obj.(*model.PrintMsg); ok { + continue + } else { if data, ok2 := obj.(string); ok2 { changePrintMsg(data) break flag } - continue } } }