mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-24 15:10:48 +08:00
feat: add user medal selection and display
This commit is contained in:
9
frontend_nuxt/utils/medal.js
Normal file
9
frontend_nuxt/utils/medal.js
Normal file
@@ -0,0 +1,9 @@
|
||||
export const medalTitles = {
|
||||
COMMENT: '评论达人',
|
||||
POST: '发帖达人',
|
||||
SEED: '种子用户'
|
||||
}
|
||||
|
||||
export function getMedalTitle(type) {
|
||||
return medalTitles[type] || ''
|
||||
}
|
||||
Reference in New Issue
Block a user