From b01e46b64fd97f610ba17970e7c0aa1398a025e9 Mon Sep 17 00:00:00 2001 From: xiangshu233 Date: Tue, 24 Mar 2026 21:43:05 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui,router):=20:bug:=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E5=BA=95=E9=83=A8=E9=81=AE=E6=8C=A1?= =?UTF-8?q?=E5=B9=B6=E6=B6=88=E9=99=A4=E8=B7=AF=E7=94=B1=E5=AF=BC=E8=88=AA?= =?UTF-8?q?=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 调整登录页滚动容器与底部安全区留白,避免小屏下底部 UI 被遮挡 为“我的”页面增加底部留白,防止“退出登录”被悬浮导航覆盖 将全局路由守卫改为 Vue Router 返回值写法,移除 next() 过时用法 在悬浮导航中避免重复跳转当前路由,消除 redundant navigation 告警 --- src/layout/components/FloatingNavBar.vue | 16 ++++++++++++++-- src/router/router-guards.ts | 16 ++++++---------- src/views/my/index.vue | 5 +++++ 3 files changed, 25 insertions(+), 12 deletions(-) diff --git a/src/layout/components/FloatingNavBar.vue b/src/layout/components/FloatingNavBar.vue index b0baa96..28328fb 100644 --- a/src/layout/components/FloatingNavBar.vue +++ b/src/layout/components/FloatingNavBar.vue @@ -62,7 +62,7 @@