From a378a45b199aa24ad96a1033c72e18ab2b732992 Mon Sep 17 00:00:00 2001 From: xingyy <64720302+Concur-max@users.noreply.github.com> Date: Thu, 13 Mar 2025 11:19:50 +0800 Subject: [PATCH] 1231 --- app/pages/login/index.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/pages/login/index.vue b/app/pages/login/index.vue index b3e0ef6..0d601f4 100644 --- a/app/pages/login/index.vue +++ b/app/pages/login/index.vue @@ -102,7 +102,13 @@ blockY:0 const getCode =async () => { isShow.value=true loadingRef.value.loading1=true - const res=await userCaptcha(captcha.value) + const res=await userCaptcha({ + canvasWidth:captcha.value.canvasWidth, + canvasHeight:captcha.value.canvasHeight, + blockWidth:captcha.value.blockWidth, + blockHeight:captcha.value.blockHeight, + place:captcha.value.place + }) if (res.status===0){ captcha.value.canvasSrc=`data:image/png;base64,${res.data.canvasSrc}` captcha.value.blockSrc=`data:image/png;base64,${res.data.blockSrc}`