@@ -5,6 +5,7 @@ import { qwGetQrCode, qwCheckLogin, qwCheckQRCode } from '@src/http/api';
interface QrCodeData {
qrcode: string;
+ qrcode_data: string;
uuid: string;
ttl: number;
key: string;
@@ -266,7 +267,7 @@ const QrCodeModal: React.FC<QrCodeModalProps> = ({
) : qrCodeData && (
<div className="flex flex-col items-center">
<Image
- src={qrCodeData.qrcode}
+ src={'data:image/jpeg;base64,' + qrCodeData.qrcode_data}
alt="二维码"
width={200}
preview={false}