pangu-user-platform/pangu-ui
神码-方晓辉 7f6d6d038a fix: 验证码禁用时自动隐藏输入框
## 问题
登录页面验证码图片无法显示,且验证码已禁用但输入框仍然显示

## 解决方案
当captchaEnabled=false时,完全隐藏验证码输入框和图片

## 修改内容
1. 添加captchaEnabled响应式变量控制显示
2. 使用v-if条件渲染验证码输入框
3. 根据captchaEnabled动态设置验证规则

## 用户体验
- 验证码启用:显示输入框和图片,必填
- 验证码禁用:完全隐藏,用户只需输入用户名密码

---
作者:湖北新华业务中台研发团队
2026-02-01 12:18:41 +08:00
..
public feat: 初始化盘古用户平台项目 2026-01-31 16:48:20 +08:00
src fix: 验证码禁用时自动隐藏输入框 2026-02-01 12:18:41 +08:00
.gitignore feat: 初始化盘古用户平台项目 2026-01-31 16:48:20 +08:00
README.md feat: 初始化盘古用户平台项目 2026-01-31 16:48:20 +08:00
index.html feat: 初始化盘古用户平台项目 2026-01-31 16:48:20 +08:00
package-lock.json refactor: 完全移除Mock,100%使用真实DB数据和API 2026-02-01 00:21:28 +08:00
package.json refactor: 完全移除Mock,100%使用真实DB数据和API 2026-02-01 00:21:28 +08:00
vite.config.js fix: UI自动化测试并修复前后端集成关键问题 2026-02-01 00:56:57 +08:00

README.md

Vue 3 + Vite

This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Learn more about IDE Support for Vue in the Vue Docs Scaling up Guide.