点赞收藏功能细化,问题修复

This commit is contained in:
xiaowang
2026-03-05 15:15:59 +08:00
parent bea4b63e3e
commit 560921c0e9
13 changed files with 560 additions and 131 deletions
+1
View File
@@ -84,6 +84,7 @@ defineExpose({
// 根据当前路由判断激活的导航项
const currentRoute = computed(() => {
if (!route || !route.path) return 'home'
const path = route.path
if (path === '/') return 'home'
if (path === '/products') return 'products'