From 08a396eeb66821b791bc7591bfb8bf54b31381a8 Mon Sep 17 00:00:00 2001 From: "Ray.Hao" <1490493387@qq.com> Date: Mon, 19 May 2025 12:40:51 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20:hammer:=20=E6=B3=A8=E9=87=8A=E6=96=87?= =?UTF-8?q?=E6=A1=88=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/auth.api.ts | 2 +- src/lang/package/zh-cn.ts | 2 +- src/layout/components/NavBar/components/NavbarRight.vue | 4 ++-- src/main.ts | 2 +- src/store/modules/user.store.ts | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/api/auth.api.ts b/src/api/auth.api.ts index 35c28cf9..e27d85e0 100644 --- a/src/api/auth.api.ts +++ b/src/api/auth.api.ts @@ -32,7 +32,7 @@ const AuthAPI = { }); }, - /** 注销登录接口 */ + /** 退出登录接口 */ logout() { return request({ url: `${AUTH_BASE_URL}/logout`, diff --git a/src/lang/package/zh-cn.ts b/src/lang/package/zh-cn.ts index b3313183..c97e2f0d 100644 --- a/src/lang/package/zh-cn.ts +++ b/src/lang/package/zh-cn.ts @@ -45,7 +45,7 @@ export default { // 导航栏国际化 navbar: { dashboard: "首页", - logout: "注销登录", + logout: "退出登录", document: "项目文档", gitee: "项目地址", profile: "个人中心", diff --git a/src/layout/components/NavBar/components/NavbarRight.vue b/src/layout/components/NavBar/components/NavbarRight.vue index b05911aa..0d42bbf9 100644 --- a/src/layout/components/NavBar/components/NavbarRight.vue +++ b/src/layout/components/NavBar/components/NavbarRight.vue @@ -18,7 +18,7 @@ - +