1. 13 Feb, 2026 38 commits
  2. 12 Feb, 2026 2 commits
    • 创建统一的配置文件 src/config/app.js 管理 Mock 开关
      
      变更内容:
      - 新增 src/config/app.js 统一配置文件
      - 更新 8 个页面使用统一的 USE_MOCK_DATA 配置:
        - src/pages/material-list/index.vue
        - src/pages/feedback-list/index.vue
        - src/pages/message/index.vue
        - src/pages/week-hot-material/index.vue
        - src/pages/favorites/index.vue
        - src/pages/plan/index.vue
        - src/pages/search/index.vue
        - src/pages/product-center/index.vue
      
      收益:
      - 便于开发和测试环境的 Mock 数据切换
      - 统一代码风格,提升可维护性
      - 符合 DRY 原则
      
      Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
      hookehuyr authored
    • - 消息详情页获取详情后调用 userStore.fetchUserInfo(true)
      - 刷新用户信息以更新 unreadMsgCount
      - 从而使 TabBar 红点状态同步更新
      
      修改文件:
      - src/pages/message-detail/index.vue: 添加 useUserStore 导入和刷新调用
      - src/api/news.js: 修复注释格式(全角分号)
      
      Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
      hookehuyr authored