【功能优化】登录界面,如果禁用验证码,不初始化 Verify 组件

This commit is contained in:
YunaiV
2024-12-28 20:30:51 +08:00
parent e985b2507a
commit 51cffa4e03
4 changed files with 7 additions and 4 deletions

View File

@@ -85,6 +85,7 @@
</el-form-item>
</el-col>
<Verify
v-if="registerData.captchaEnable === 'true'"
ref="verify"
:captchaType="captchaType"
:imgSize="{ width: '400px', height: '200px' }"