bugfix-订阅客户端消息处理
This commit is contained in:
parent
7aff26f0d3
commit
643ec9bfaf
@ -127,8 +127,8 @@ export class SubscriptionClient {
|
|||||||
|
|
||||||
trySubscribe(): void {
|
trySubscribe(): void {
|
||||||
if (this.mc.connected) {
|
if (this.mc.connected) {
|
||||||
this.unsubscriptor = this.mc.subscribe(this.destination, () => {
|
this.unsubscriptor = this.mc.subscribe(this.destination, (data) => {
|
||||||
this.handleMessage;
|
this.handleMessage(data);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user