feat(tender): Header 导航加入「标书中心」入口(路径 /tender),解决官网无入口问题

This commit is contained in:
2026-09-09 15:26:42 +08:00
parent 802b73b555
commit 1bba5eb58d
2 changed files with 4 additions and 3 deletions
@@ -151,8 +151,9 @@ function getChildPath(child: CmsNavigation): string {
// 获取站点信息(含导航数据)
await fetchSiteInfo()
/** 导航项(使用 useSite 合并 topNavs + bottomNavs 并过滤 top===1 的导航) */
/** 导航项(使用 useSite 合并 topNavs + bottomNavs 并过滤 top===1 的导航;静态前置「标书中心」入口 */
const navItems = computed<CmsNavigation[]>(() => {
return navigations.value || []
const staticNav: CmsNavigation = { title: '标书中心', path: '/tender' }
return [staticNav, ...(navigations.value || [])]
})
</script>