fix: 修复嵌套目录浏览空白和文件扫描重复插入问题

This commit is contained in:
2026-07-10 19:25:53 +08:00
parent 6bdcb48c97
commit 809ca92464
3 changed files with 4 additions and 3 deletions
@@ -189,7 +189,8 @@ namespace FileShare_Services.Services.FileLibrary
}
var absolutePath = info.FullName;
seen.Add(absolutePath);
if (!seen.Add(absolutePath))
continue;
if (!existing.TryGetValue(absolutePath, out var record))
{