We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d3e7b5 commit 5a30df5Copy full SHA for 5a30df5
web/src/view/login/index.vue
@@ -179,8 +179,7 @@
179
// 获取验证码
180
const loginVerify = async () => {
181
const ele = await captcha()
182
- const lengthFromServer = Number(ele.data?.captchaLength) || 0
183
- captchaRequiredLength.value = Math.max(6, lengthFromServer)
+ captchaRequiredLength.value = Number(ele.data?.captchaLength) || 0
184
picPath.value = ele.data?.picPath
185
loginFormData.captchaId = ele.data?.captchaId
186
loginFormData.openCaptcha = ele.data?.openCaptcha
0 commit comments