chore(顶栏): 注释里去掉已经没有的 /setting
Deploy / deploy (push) Canceled after 0s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
xuyueandClaude Opus 5.5 committed 2026-10-13 00:05:01 +08:00
1 parent e368ed3eca
commit 689d40b116
1 file changed
+1 -1
+1 -1
View File
@@ -51,7 +51,7 @@ const envVersion = computed(() => {
return ""
})
// 一级路径就是菜单 key,对不上的页面(/user、/setting、/achievement 等)
// 一级路径就是菜单 key,对不上的页面(/user、/achievement 等)
// 自然没有一项亮着。根路径没登录时就是题目列表,登录了是个人首页,不亮任何一项
const active = computed(() => route.path.split("/")[1] || (userStore.isAuthed ? "" : "problem"))