From c9a6f7cbb5209415e626df29c7572cf40fe92b66 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期一, 06 一月 2025 11:44:50 +0800 Subject: [PATCH] 1、工作流程功能优化,解决流程图模拟功能simulation不生效的bug 2、system menu等页面修改 3、Footer copyright年份修改为动态 --- src/layout/components/Footer/src/Footer.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/layout/components/Footer/src/Footer.vue b/src/layout/components/Footer/src/Footer.vue index 62302fc..c5a1d1a 100644 --- a/src/layout/components/Footer/src/Footer.vue +++ b/src/layout/components/Footer/src/Footer.vue @@ -12,6 +12,10 @@ const appStore = useAppStore() const title = computed(() => appStore.getTitle) + + +// 添加当前年份计算属性 +const currentYear = computed(() => new Date().getFullYear()) </script> <template> @@ -19,6 +23,6 @@ :class="prefixCls" class="h-[var(--app-footer-height)] bg-[var(--app-content-bg-color)] text-center leading-[var(--app-footer-height)] text-[var(--el-text-color-placeholder)] dark:bg-[var(--el-bg-color)] overflow-hidden" > - <span class="text-14px">Copyright ©2022-{{ title }}</span> + <span class="text-14px">Copyright ©{{ currentYear }} {{ title }}</span> </div> </template> -- Gitblit v1.9.3