feat: 优化三代机udp

This commit is contained in:
surenjun 2025-05-15 16:55:26 +08:00
parent f888e82b00
commit 048a60baeb

View File

@ -312,6 +312,7 @@ export default class UdpClientByCenter {
if (terType == 2) {
//三型机
this.onMessage_1Callback = callback;
this.udp && this.udp.off('message', this.message_1Fn);
this.udp && this.udp.on('message', this.message_1Fn);
} else {
this.retClass.receiveMsg(callback)