浅念
|
8aea3d8916
|
feat(admin): 登录表单恢复Art Design Pro原版样式(紧凑40px/左对齐/无图标),左侧保留品牌区
Co-Authored-By: Claude Code <noreply@anthropic.com>
|
2026-09-17 17:16:54 +08:00 |
|
浅念
|
803fc3d611
|
feat(admin): 登录表单按验收反馈精简——去标签/去底部文案/滑块与输入框等高
Co-Authored-By: Claude Code <noreply@anthropic.com>
|
2026-09-17 17:14:04 +08:00 |
|
浅念
|
d7121640f5
|
fix(admin): 登录样式构建修复——flex-cc换核心工具类,注册/忘记密码页补固定浅色
Co-Authored-By: Claude Code <noreply@anthropic.com>
|
2026-09-17 16:47:30 +08:00 |
|
浅念
|
b9eaa5a32a
|
feat(admin): 登录表单区对齐客迹V1——移除账号下拉/注册/忘记密码入口,固定浅色
Co-Authored-By: Claude Code <noreply@anthropic.com>
|
2026-09-17 16:30:19 +08:00 |
|
浅念
|
ab4f40ba5d
|
feat(admin): 模板精简+请求层适配 Django JWT
- 克隆 art-design-pro v3.0.2(GitHub depth1),rm .git,pnpm clean:dev 精简演示页(92 文件)
- .env.development/.env.production 均设 VITE_API_URL=/api,代理目标 127.0.0.1:8000(移除 Apifox Mock)
- http 封装信封适配:code===200 解包 data;msg/message 字段兼容(拦截器/error/类型)
- /api/admin/auth/token 登录适配(access->Bearer token, refresh->refreshToken);/api/admin/auth/me 映射 UserInfo(userName/roles/is_admin)
- 登录页演示账号替换为真实 admin;logOut 按路由名判登录页修复 redirect 嵌套
- 根 .gitignore 补 !admin/.env(模板公共 env 非密钥,需入库)
- 验证:Playwright 全链路(错误密码 401 留登页/正确登录进工作台/登出/受保护路由重定向/redirect 回跳)+ pnpm build(vue-tsc 通过,产物无 mock 域名)
Co-Authored-By: Claude Code <noreply@anthropic.com>
|
2026-09-15 17:17:38 +08:00 |
|