update
Some checks failed
Deploy / deploy (push) Has been cancelled

This commit is contained in:
2025-09-25 20:55:08 +08:00
parent 4ff5822ef8
commit 25117b454d

View File

@@ -91,7 +91,7 @@ const menus = computed<MenuOption[]>(() => [
h( h(
RouterLink, RouterLink,
{ to: userStore.isTheAdmin ? "/admin/problem/list" : "/admin" }, { to: userStore.isTheAdmin ? "/admin/problem/list" : "/admin" },
{ default: () => (userStore.isTheAdmin ? "我出的题" : "后台") }, { default: () => "后台" },
), ),
show: userStore.isAdminRole, show: userStore.isAdminRole,
key: "admin", key: "admin",