fix
This commit is contained in:
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user