Skip to content

Commit

Permalink
fix: type error
Browse files Browse the repository at this point in the history
  • Loading branch information
YuzeTT committed Nov 13, 2023
1 parent 8f1f5d6 commit 313784d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/user.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import JSEncrypt from 'jsencrypt'
import { useMemo, useState, useCallback, useEffect, useRef } from 'react'
import dayjs from 'dayjs'

const getVip = (level: number, time: number = 0, name: string = '加载中...') => {
const getVip = (level: string | undefined, time: number = 0, name: string = '加载中...') => {
const list = [
{
level: '0',
Expand Down

0 comments on commit 313784d

Please sign in to comment.