From 816df6ec0a43ef777e0d4cd0daff61f870626d83 Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期四, 05 六月 2025 13:53:12 +0800 Subject: [PATCH] feat(system): 添加节假日管理功能- 新增 SysHolidayController、SysHoliday、SysHolidayMapper、SysHolidayServiceImpl 和 ISysHolidayService 类- 实现节假日信息的增删改查和导出功能 - 添加工作日判断方法 - 新增相关 API 接口 --- zhitan-vue/src/components/TopNav/index.vue | 13 ++----------- 1 files changed, 2 insertions(+), 11 deletions(-) diff --git a/zhitan-vue/src/components/TopNav/index.vue b/zhitan-vue/src/components/TopNav/index.vue index 85bc9e8..774132d 100644 --- a/zhitan-vue/src/components/TopNav/index.vue +++ b/zhitan-vue/src/components/TopNav/index.vue @@ -167,12 +167,7 @@ return; } - if (key === '/index' || key === '/') { - // 棣栭〉鏃舵樉绀烘姌鍙犵殑渚ц竟鏍忥紝鑰屼笉鏄殣钘� - router.push({ path: key }); - appStore.showCollapsedSidebar(); - return; - } + // 妫�鏌ユ槸鍚︽湁瀛愯矾鐢� if (route && route.children && route.children.length > 0) { @@ -258,11 +253,7 @@ function activeRoutes(key) { let routes = []; - if (key === '/index' || key === '/') { - // 棣栭〉鏃舵樉绀烘姌鍙犵殑渚ц竟鏍忥紝鑰屼笉鏄殣钘� - appStore.showCollapsedSidebar(); - return []; - } + // 鏌ユ壘鍖归厤鐨勮矾鐢� if (childrenMenus.value && childrenMenus.value.length > 0) { -- Gitblit v1.9.3