1. 新增修改密码页面 (my/ChangePassword.vue) - 支持输入旧密码、新密码、确认密码 - 密码验证:至少6位、两次输入一致性校验 - 修改成功后自动清除登录信息并跳转到登录页 2. 新增API接口 (updatePassword) - PUT /sys/profile/password - 参数: oldPassword, newPassword, confirmPassword 3. 更新路由配置 - 新增 /my/change-password 路由 4. 更新我的页面 - 修改密码点击跳转到修改密码页面
Vue 3 + TypeScript + Vite
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.
Learn more about the recommended Project Setup and IDE Support in the Vue Docs TypeScript Guide.