add class pk
Deploy / deploy (push) Has been cancelled

This commit is contained in:
xuyue committed 2026-01-03 21:52:09 +08:00
1 parent 577538f689
commit 078e643987
7 files changed
+729

No files matched your search

+24
View File
@@ -118,6 +118,30 @@ const menus = computed<MenuOption[]>(() => [
key: "rank",
icon: renderIcon("streamline-emojis:hibiscus"),
},
{
label: () => "班级",
key: "class",
show: false,
icon: renderIcon("twemoji:crossed-swords"),
children: [
{
label: () =>
h(RouterLink, { to: "/class/rank" }, { default: () => "班级排名" }),
key: "class-rank",
},
{
label: () =>
h(RouterLink, { to: "/class/pk" }, { default: () => "班级PK" }),
key: "class-pk",
},
{
label: () =>
h(RouterLink, { to: "/class/my-rank" }, { default: () => "我的排名" }),
key: "my-rank",
show: userStore.isAuthed,
},
],
},
{
label: () =>
h(RouterLink, { to: "/announcement" }, { default: () => "公告" }),