refactor: 清理所有调试日志和死代码

- 🗑️ 删除未使用的依赖: net, dns 模块
- 🧹 将 console.log("[DEBUG]") 替换为 SystemLogDB.log()
- 🧹 清理分享验证相关的调试日志
- 🧹 清理数据库查询的调试日志
- 🧹 删除下载功能的调试日志
-  代码更专业,日志统一使用 SystemLogDB

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Claude Opus
2026-01-18 18:09:18 +08:00
parent 664cdda041
commit 92b70a11d7
3 changed files with 7 additions and 48 deletions

View File

@@ -1238,8 +1238,6 @@ handleDragLeave(e) {
},
downloadFile(file) {
console.log("[DEBUG] 下载文件:", file);
// 构建文件路径
const filePath = this.currentPath === '/' ? `/${file.name}` : `${this.currentPath}/${file.name}`;