This commit is contained in:
xuyue committed 2026-03-18 14:50:20 +08:00
1 parent 98d8099b5d
commit d68ef60ab9
17 files changed
+1207 -314

No files matched your search

+16
View File
@@ -57,6 +57,7 @@ const menu = computed(() => [
icon: () =>
h(Icon, {
icon: "streamline-emojis:robot-face-1",
width: 20,
}),
},
{
@@ -66,6 +67,7 @@ const menu = computed(() => [
icon: () =>
h(Icon, {
icon: "skill-icons:django",
width: 20,
}),
},
{
@@ -74,6 +76,16 @@ const menu = computed(() => [
icon: () =>
h(Icon, {
icon: "streamline-emojis:bar-chart",
width: 20,
}),
},
{
label: "排名榜",
key: "ranking",
icon: () =>
h(Icon, {
icon: "streamline-emojis:sunglasses",
width: 20,
}),
},
{
@@ -82,6 +94,7 @@ const menu = computed(() => [
icon: () =>
h(Icon, {
icon: "streamline-emojis:hot-beverage-2",
width: 20,
}),
},
])
@@ -106,6 +119,9 @@ function clickMenu(name: string) {
query: { username: user.username },
})
break
case "ranking":
router.push({ name: "ranking" })
break
case "logout":
handleLogout()
break