From 85eb0c4382eb7b7d84e8ce9c46962783734cc48c Mon Sep 17 00:00:00 2001 From: landaiqing <3517283258@qq.com> Date: Sun, 5 May 2024 02:25:50 +0800 Subject: [PATCH] feat: update --- src/api/captcha/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/api/captcha/index.ts b/src/api/captcha/index.ts index f4dea6d..9c0e087 100644 --- a/src/api/captcha/index.ts +++ b/src/api/captcha/index.ts @@ -1,6 +1,5 @@ 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 @@ -82,7 +81,7 @@ export async function verify(token: string, deg: number): Promise= 0 && success ? {