Skip to content

Commit

Permalink
fix: level bug
Browse files Browse the repository at this point in the history
  • Loading branch information
YuzeTT committed Nov 13, 2023
1 parent 6b48310 commit 8f1f5d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/user.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import dayjs from 'dayjs'
const getVip = (level: number, time: number = 0, name: string = '加载中...') => {
const list = [
{
level: 0,
level: '0',
text: <div className='text-xs bg-zinc-500 text-white rounded px-1.5 py-0.5' mr-2>访客</div>,
icon: '/images/vip/vip-0.svg'
},
Expand All @@ -42,7 +42,7 @@ const getVip = (level: number, time: number = 0, name: string = '加载中...')
icon: '/images/vip/vip-1.svg'
},
{
level: 100,
level: '100',
text: <div className='text-xs bg-zinc-900 text-white rounded px-1.5 py-0.5' mr-2>管理员</div>,
icon: '/images/vip/vip-5.svg'
}
Expand Down

0 comments on commit 8f1f5d6

Please sign in to comment.