add announcement.

This commit is contained in:
2023-12-22 13:11:09 +08:00
parent 2bcc09c5fb
commit b921c65ed5
4 changed files with 88 additions and 0 deletions

View File

@@ -51,6 +51,10 @@ const menus = computed<MenuOption[]>(() => [
label: () => h(RouterLink, { to: "/rank" }, { default: () => "排名" }),
key: "rank",
},
{
label: () => h(RouterLink, { to: "/announcement" }, { default: () => "公告" }),
key: "announcement",
},
{
label: () => h(RouterLink, { to: "/admin" }, { default: () => "后台" }),
show: userStore.isAdminRole,