diff --git a/src/api/captcha/index.ts b/src/api/captcha/index.ts index 60f352c..f4dea6d 100644 --- a/src/api/captcha/index.ts +++ b/src/api/captcha/index.ts @@ -1,5 +1,6 @@ import type { TicketInfoType, TokenInfoType } from 'react-rotate-captcha' import { handle } from './canvas' +import * as crypto from 'crypto' import wallhaven from '@/assets/images/wallhaven.jpg' export type ActionType = { code: 0 | 1