mirror of
https://github.com/Cola-Echo/memory-manager-concurrent.git
synced 2026-06-07 12:55:54 +00:00
feat: 优化进度条体验和修复一键全选功能
- 进度条改用检查点驱动模拟真实流式传输进度 (5→15→25→35→45→60→75→85→92→100) - 每个检查点间使用 ease-out 缓动平滑过渡 - 完成时从当前进度平滑动画到 100% - 修复一键全选按钮事件绑定问题 - 添加调试日志帮助诊断问题 - 修复 addSystemMessage 使用不存在容器的问题 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -90,11 +90,12 @@ const Logger = {
|
||||
|
||||
/**
|
||||
* 调试日志(受 showLogs 控制)
|
||||
* 注意:使用 console.log 而非 console.debug,确保在所有浏览器设置下可见
|
||||
* @param {...any} args 日志参数
|
||||
*/
|
||||
debug: (...args) => {
|
||||
if (Logger.shouldShowLogs()) {
|
||||
console.debug(Logger.prefix, ...args);
|
||||
console.log(Logger.prefix, "[DEBUG]", ...args);
|
||||
}
|
||||
},
|
||||
|
||||
@@ -195,7 +196,7 @@ const Logger = {
|
||||
|
||||
debug: (...args) => {
|
||||
if (Logger.shouldShowLogs()) {
|
||||
console.debug(modulePrefix, ...args);
|
||||
console.log(modulePrefix, "[DEBUG]", ...args);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user