From d33f55ad555e90fb0308ccd124a3c89a36aa7b96 Mon Sep 17 00:00:00 2001 From: xiezhouwei Date: Wed, 17 Jun 2026 14:04:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A1=A5=E5=85=A8=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E7=AB=AF=E5=AF=BC=E8=88=AA=E6=A0=8F=E9=A1=BA=E5=BA=8F=E5=90=8C?= =?UTF-8?q?=E6=AD=A5=20-=20=E6=A8=A1=E5=9E=8B=E2=86=92=E8=AF=84=E6=B5=8B?= =?UTF-8?q?=E2=86=92=E6=96=87=E6=A1=A3=E2=86=92=E6=8E=A7=E5=88=B6=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 之前只修改了 useNavigation.js(桌面导航),漏掉了 MobileSiteNavDropdown.jsx 第34行硬编码的 PRIMARY_NAV_KEYS 数组,导致移动端下拉导航顺序仍为旧顺序。 --- web/src/components/layout/headerbar/MobileSiteNavDropdown.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/layout/headerbar/MobileSiteNavDropdown.jsx b/web/src/components/layout/headerbar/MobileSiteNavDropdown.jsx index 0676676..e8d6d7b 100644 --- a/web/src/components/layout/headerbar/MobileSiteNavDropdown.jsx +++ b/web/src/components/layout/headerbar/MobileSiteNavDropdown.jsx @@ -31,7 +31,7 @@ const NAV_ICONS = { import SkeletonWrapper from '../components/SkeletonWrapper'; /** 主站入口顺序(与桌面顶栏一致) */ -const PRIMARY_NAV_KEYS = ['pricing', 'console', 'benchmark', 'docs']; +const PRIMARY_NAV_KEYS = ['pricing', 'benchmark', 'docs', 'console']; const menuClass = '!bg-semi-color-bg-overlay !border-semi-color-border !shadow-lg !rounded-lg dark:!bg-gray-700 dark:!border-gray-600';