Skip to content

v1.0.1

Choose a tag to compare

@theBigGavin theBigGavin released this 04 Aug 05:28
· 210 commits to main since this release

修复

  • 修复 429 Too Many Requests — 服务端限流器改为滑动窗口算法,限额 240→600/min;新增 /api/batch-minute/api/batch-fmin 批量端点,前端分钟线请求数从 21 次合并为 2 次,冷启动爆发大幅降低
  • 修复行业盈利榜图表不填充面板 — useElementSize hook 改用 callback ref,确保条件渲染元素延迟挂载时 ResizeObserver 正确启动

重构

  • 前端共享模块抽取(code.ts, storage.ts, useElementSize, useStockSearch, TabBar, AsyncContent),消除 20+ 处重复代码