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