更新依赖项版本,添加文件哈希功能,优化远程应用连接逻辑

This commit is contained in:
2026-01-26 04:18:03 +08:00
parent 48dafc6040
commit 15d81c4f68
7 changed files with 174 additions and 35 deletions

View File

@@ -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 () {