fix
Some checks failed
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled

This commit is contained in:
2026-08-05 13:43:21 -06:00
parent 425bab1c15
commit a1bea7182f

View File

@@ -9,7 +9,6 @@ import type {
AchievementSummary, AchievementSummary,
} from "utils/types" } from "utils/types"
import AchievementCard from "./components/AchievementCard.vue" import AchievementCard from "./components/AchievementCard.vue"
import { NH2, NH4 } from "naive-ui"
interface UserBadge { interface UserBadge {
id: number id: number
@@ -88,9 +87,7 @@ watch(name, load)
:percentage="summary.percent" :percentage="summary.percent"
:stroke-width="8" :stroke-width="8"
> >
<component :is="isDesktop ? NH2 : NH4"> <n-text strong>{{ summary.percent }}%</n-text>
{{ summary.percent }}%
</component>
</n-progress> </n-progress>
<n-text depth="3" class="nowrap"> <n-text depth="3" class="nowrap">
已获得 {{ summary.unlocked }} / {{ summary.total }} 已获得 {{ summary.unlocked }} / {{ summary.total }}