更新依赖项版本,添加文件哈希功能,优化远程应用连接逻辑
This commit is contained in:
@@ -64,6 +64,10 @@ export class RemoteApp {
|
||||
throw new Error('No id provided for remote app');
|
||||
}
|
||||
this.isError = false;
|
||||
// 关闭已有连接
|
||||
if (this.ws) {
|
||||
this.ws.close();
|
||||
}
|
||||
const ws = new WebSocket(this.getWsURL(this.url));
|
||||
const that = this;
|
||||
ws.onopen = function () {
|
||||
|
||||
Reference in New Issue
Block a user