From 1aea60d64276ab2b960e21ca3fc5716ff89dc7fe Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Thu, 30 Mar 2023 18:00:41 +0800
Subject: [PATCH] 优化跨端通讯协议,支持超时自动释放资源,支持异常通讯拦截

---
 bases/HostBoot.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bases/HostBoot.js b/bases/HostBoot.js
index 6907708..12f98bc 100644
--- a/bases/HostBoot.js
+++ b/bases/HostBoot.js
@@ -52,7 +52,7 @@
                     };
                 }
                 // 如果有匹配服务器,使用指定的服务器地址
-                if (typeof this._data.hostList[server] !== 'undefined') {
+                else if (typeof this._data.hostList[server] !== 'undefined') {
                     this._data.activeHost[typeName] = {
                         name: server,
                         host: this._data.hostList[server],

--
Gitblit v1.9.1