116e363e83
样式整改
2026-02-25 23:44:01 +08:00
79a5c1f3ed
feat: 配额优化
2026-02-25 21:30:24 +08:00
0efca50be3
语音优化
2026-02-25 16:28:31 +08:00
97bfa5dfbc
优化
2026-02-25 02:14:28 +08:00
c5ef47aa54
优化
2026-02-25 02:13:21 +08:00
420f78b2cf
优化
2026-02-25 02:11:04 +08:00
7285534405
feat: 热点改进
2026-02-25 01:24:57 +08:00
07388db632
优化
2026-02-23 22:29:43 +08:00
e1627eb48c
feat: 功能优化
2026-02-23 21:54:46 +08:00
808774c333
优化
2026-02-01 20:23:24 +08:00
003e55dccf
feat: 语音
2026-02-01 18:35:03 +08:00
e050a960c5
feat: remove redundant error notifications in prompt loading
...
Removed duplicate message.error calls in both PromptSelector.vue and Forecast.vue components after logging errors to console. The error messages were being displayed twice to users, creating a redundant UX. Now errors are only logged to console for debugging while maintaining clean user interface.
2026-01-18 18:38:21 +08:00
961e4bcc77
fix: 修复问题
2026-01-18 02:15:08 +08:00
091e3d2d05
feat: 功能优化
2026-01-17 19:33:59 +08:00
bbf8093ca3
feat: 功能
2025-12-28 13:49:45 +08:00
d9f3103304
feat: 视频问题
2025-11-28 20:26:47 +08:00
36fb09feb6
refactor: 使用router.push替代window.location.href,实现SPA无刷新跳转
...
问题:
- 使用window.location.href会导致整页刷新,影响用户体验
- Vue应用应使用router.push实现单页应用内的路由跳转
修复:
1. http.js:
- 导入router实例
- 401错误:router.push('/login')
- 403错误:router.push('/login')
2. AuthService.js:
- 导入router实例
- logout函数:router.push('/login')
效果:
- 页面跳转更流畅,用户体验更佳
- 保持应用状态,避免不必要的重新加载
- 符合Vue单页应用的最佳实践
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-25 01:19:56 +08:00
fb6d18b4f5
feat: 重构HTTP客户端架构和认证系统
...
核心改进:
- HTTP客户端:工厂函数模式,支持自定义拦截器和401/403处理
- 认证服务:函数式实现,消除this绑定问题,支持业务码+HTTP状态码双通道
- Token管理:简化为直接实例导出,移除bind()和箭头函数包装
- 路由守卫:优化逻辑,移除冗余代码,更简洁易维护
技术亮点:
- 统一401/403错误处理(业务code和HTTP status双检查)
- 自动刷新token并重试请求,保留自定义拦截器
- 分层清晰:clientAxios (Mono) -> http (应用) -> AuthService
- 支持扩展:业务代码可创建自定义HTTP实例并添加拦截器
文件变更:
- 新增 AuthService.js (函数式) 和 Login.vue
- 重构 http.js、token-manager.js、router/index.js
- 删除 TokenInput.vue、utils/auth.js 等冗余文件
- 更新所有API调用点使用直接实例导入
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-25 00:58:51 +08:00
c2bd94cfad
feat: 优化
2025-11-15 21:46:57 +08:00
7cfd502afb
功能优化
2025-11-14 02:43:35 +08:00
6624627802
feat: 功能优化
2025-11-14 02:15:14 +08:00
bac96fcbe6
前端
2025-11-10 00:59:40 +08:00