This commit is contained in:
邹宗楠
2022-12-20 16:29:27 +08:00
parent b3bc7a22c4
commit bb830de073

View File

@@ -261,7 +261,7 @@ func (t *TcpClient) doPrint(key string) (err error) {
close(t.TimeoutMap[key])
} else {
//等待回调
dataStr := t.GetCallbackChan(printMsg.PrintNo)
dataStr := <-t.CallBackMap[key]
if dataStr != "" {
a, b := getCallbackMsgInfo(dataStr)
t.changePrintMsg(dataStr, a, b)