From ed12cd465254a6c3dfef2b1045fadae1f3b9b9bb Mon Sep 17 00:00:00 2001
From: ‘chensiAb’ <‘chenchenco03@163.com’>
Date: Thu, 06 Mar 2025 09:36:00 +0800
Subject: [PATCH] style:自定义导航-改为绝对定位于顶部,引用时需要显示的设置padding

---
 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