From 3d862ec5b9a3b7f7db1908e69857f4fc9e466d7d Mon Sep 17 00:00:00 2001 From: Lan Date: Fri, 9 Jan 2026 10:13:00 +0800 Subject: [PATCH] feat: https://github.com/vastsa/FileCodeBox/issues/450 --- src/components/common/PageFooter.vue | 35 +++++--- src/i18n/locales/en-US.ts | 1 + src/i18n/locales/zh-CN.ts | 1 + src/layout/AdminLayout/AdminLayout.vue | 107 +++++++++++++++++++------ 4 files changed, 110 insertions(+), 34 deletions(-) diff --git a/src/components/common/PageFooter.vue b/src/components/common/PageFooter.vue index d134d19..8846e6e 100644 --- a/src/components/common/PageFooter.vue +++ b/src/components/common/PageFooter.vue @@ -8,7 +8,7 @@ {{ linkText }} - +
{{ t('send.secureEncryption') }} - +
+ + + + +
\ No newline at end of file + diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index e5ff285..aa4cf60 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -53,6 +53,7 @@ export default { // Admin module admin: { + logout: 'Logout', dashboard: { title: 'Dashboard', totalFiles: 'Total Files', diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index 157aecd..b9c7c47 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -52,6 +52,7 @@ export default { // 管理员模块 admin: { + logout: '退出登录', dashboard: { title: '仪表盘', totalFiles: '总文件数', diff --git a/src/layout/AdminLayout/AdminLayout.vue b/src/layout/AdminLayout/AdminLayout.vue index 4637527..fc6dfda 100644 --- a/src/layout/AdminLayout/AdminLayout.vue +++ b/src/layout/AdminLayout/AdminLayout.vue @@ -1,25 +1,37 @@