- 收敛前端全局变量:将 window.lastRefreshTime 和 window._lastFetchErrorDetails 改为模块变量 - 将内联 onclick 事件改为事件监听器,消除对全局变量的依赖 - 删除 legacy.py 中已被 re-export 覆盖的旧函数实现(settings 和 groups 相关,约140行) - 所有测试通过(40/40) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
3.8 KiB
3.8 KiB