From 87009ddb274e672be5d6418d219dec32eaf3c7bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=98=AD?= <81747598+lan-yonghui@users.noreply.github.com> Date: Wed, 8 Jan 2025 15:39:37 +0800 Subject: [PATCH] feat: Modify the copyright (#7670) --- frontend/src/layout/components/AppFooter.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/layout/components/AppFooter.vue b/frontend/src/layout/components/AppFooter.vue index bebb6b4bc..e168c885a 100644 --- a/frontend/src/layout/components/AppFooter.vue +++ b/frontend/src/layout/components/AppFooter.vue @@ -3,10 +3,10 @@
- Copyright © 2014-2025 {{ $t('commons.fit2cloud') }} + Copyright © 2014-{{ year }} {{ $t('commons.fit2cloud') }} - Copyright © 2025 {{ $t('commons.lingxia') }} + Copyright © {{ year }} {{ $t('commons.lingxia') }}
@@ -25,6 +25,7 @@ const globalStore = GlobalStore(); const mobile = computed(() => { return globalStore.isMobile(); }); +const year = new Date().getFullYear();