feat: add pioneer medal dto

This commit is contained in:
Tim
2025-08-11 20:15:49 +08:00
parent 6342b8f3a6
commit 2ebccb40f5
7 changed files with 41 additions and 2 deletions

View File

@@ -29,6 +29,7 @@
<template v-else-if="medal.type === 'CONTRIBUTOR'">
{{ medal.currentContributionLines }}/{{ medal.targetContributionLines }}
</template>
<template v-else-if="medal.type === 'PIONEER'"> {{ medal.rank }} </template>
</div>
</div>
</div>

View File

@@ -3,6 +3,7 @@ export const medalTitles = {
POST: '发帖达人',
SEED: '种子用户',
CONTRIBUTOR: '贡献者',
PIONEER: '开山鼻祖',
}
export function getMedalTitle(type) {