1. 19 Dec, 2025 1 commit
    • dexcoder6's avatar
      fix(frontend): 修复移动端菜单栏和使用记录页面 UI 问题 · 406d3f3c
      dexcoder6 authored
      - 修复移动端无法打开菜单栏的问题
        - 在 app.ts 中添加 mobileOpen 状态管理
        - 修复 AppHeader.vue 中移动端菜单按钮调用错误的方法
        - 修复 AppSidebar.vue 使用本地 ref 而非全局状态的问题
      
      - 添加移动端菜单自动关闭功能
        - 点击菜单项后自动关闭侧边栏
        - 添加 150ms 延迟以显示关闭动画
      
      - 修复使用记录页面总消费卡片溢出问题
        - 调整总消费卡片布局,将删除线价格移至说明行
        - 添加 min-w-0 flex-1 防止内容溢出
        - 保持与其他卡片高度一致
      
      🤖 Generated with [Claude Code](https://claude.com/claude-code
      
      )
      Co-Authored-By: default avatarClaude Sonnet 4.5 <noreply@anthropic.com>
      406d3f3c
  2. 18 Dec, 2025 5 commits
    • shaw's avatar
      fix: 修复前端github项目地址 · 66ba4876
      shaw authored
      66ba4876
    • shaw's avatar
      fix: 修复前端多个 bug · 14517146
      shaw authored
      1. 版本号闪烁问题
         - 将版本信息缓存到 Pinia store,避免每次路由切换都重新请求
         - 添加加载占位符,版本为空时显示骨架屏
      
      2. 管理员登录跳转问题
         - 管理员登录后现在正确跳转到 /admin/dashboard
         - 普通用户仍跳转到 /dashboard
      
      3. Dashboard 页面空白报错
         - 修复 API 返回 null 时访问 .length 导致的 TypeError
         - 为 computed 属性添加可选链操作符保护
         - 为数据赋值添加空数组默认值
      14517146
    • shaw's avatar
      feat: 实现后台在线更新功能 · 9b4fc424
      shaw authored
      - 前端添加更新和重启按钮,支持一键更新 Release 构建
      - 修复条件判断优先级问题,确保错误/成功状态正确显示
      - 后端使用原子文件替换模式,确保更新过程安全可靠
      - 在可执行文件同目录创建临时文件,保证 rename 原子性
      - 删除未使用的 copyFile 函数,保持代码整洁
      9b4fc424
    • shaw's avatar
      fix: frontend build error · 3d05e503
      shaw authored
      3d05e503
    • shaw's avatar
      First commit · 642842c2
      shaw authored
      642842c2