From 9826de2ad1f4033766d434119b086550b10cafa1 Mon Sep 17 00:00:00 2001 From: liufumingren Date: Sat, 7 Nov 2026 08:51:53 +0800 Subject: [PATCH] =?UTF-8?q?feat(ui):=20=E6=A0=87=E9=A2=98=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E5=A4=A9=E8=B1=B9=E4=BA=91OMS=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E7=B3=BB=E7=BB=9F=EF=BC=8C=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E9=A1=B5=E4=BD=9C=E4=B8=BA=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 浏览器标题、侧边栏 logo、登录页品牌名统一为「天豹云OMS订单管理系统」 - 登录页底部新增备案号(可点击跳转工信部核验)与版权信息;窄屏/极矮屏改为 常规流排布,避免页脚压在登录卡片上 - 路由调整:根路径 / 直接渲染登录页(首页即登录),/login 重定向到 /; 登录成功后进仪表盘 /dashboard,已登录访问 / 或 /login 同样回仪表盘 - 退出登录、401 失效统一回到首页(登录页) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- frontend/index.html | 2 +- frontend/src/layouts/BasicLayout.vue | 8 +-- frontend/src/router/index.ts | 13 +++-- frontend/src/store/auth.ts | 2 +- frontend/src/utils/request.ts | 4 +- frontend/src/views/Login.vue | 76 +++++++++++++++++++++++++--- 6 files changed, 88 insertions(+), 17 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index d564dd2..e8da7b9 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -7,7 +7,7 @@ - OMS 管理系统 + 天豹云OMS订单管理系统
diff --git a/frontend/src/layouts/BasicLayout.vue b/frontend/src/layouts/BasicLayout.vue index 75fa58f..2ec967a 100644 --- a/frontend/src/layouts/BasicLayout.vue +++ b/frontend/src/layouts/BasicLayout.vue @@ -142,7 +142,7 @@ function logout() { } function goLogin() { - router.push('/login') + router.push('/') } // 进入导出任务页(全局任务池:提交后后台异步处理,完成后自动下载) @@ -167,7 +167,7 @@ function onPrincipalChange(id: number) {