Ubuntu
|
5601363979
|
feat: API层完全对齐原始v200 + 登录页验证码逻辑修复
- 重写19个API模块,170+函数完全对齐原始JavaScript
- 修复登录页: captchaEnabled默认true, getCodeImgs对齐原始, localStorage key对齐zhsw-*
- 修复HTTP模块: code===0成功码, 60s超时, 无Bearer前缀Token
- 修复userStore: setTokenFromLogin, UserInfo类型
- 新建rsaUtil.ts: RSA长文本加密
- 路由守卫验证通过, 浏览器全链路零报错
|
2026-06-15 23:50:49 +08:00 |
|
Ubuntu
|
ed9eedc519
|
feat: Phase 3 - API layer + Pinia stores + app integration
- HTTP client (axios interceptors, token mgmt, typed APIs)
- Pinia stores: token, user (login/logout), app (dark mode, sidebar)
- globalConfig TS types + Window augmentation
- Vue Router (hash history, auth guard)
- Login/Home/Mine pages (Vant UI)
- Vant integration + globalConfig dev script
- Build passes (vue-tsc + vite)
|
2026-06-15 20:56:05 +08:00 |
|