测试管理socket订阅调整
This commit is contained in:
parent
40ae549484
commit
4d31604015
@ -328,7 +328,9 @@ async function socketConnect() {
|
||||
token: getOnlyToken() as string,
|
||||
protocol: 'protobuf',
|
||||
});
|
||||
socket.subscribe(destination, handler);
|
||||
socket.on('connected', () => {
|
||||
socket?.subscribe(destination, handler);
|
||||
});
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log(err, '获取仿真信息更新通道名称失败!');
|
||||
|
Loading…
Reference in New Issue
Block a user