update WebContentViewer.vue

This commit is contained in:
GMrrc committed 2024-11-19 16:17:10 +01:00
1 parent cdc3516d8b
commit bb2d06fb8f
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -119,7 +119,7 @@ export default {
const initializeFolderMap = (files, parentPath = '') => {
files.forEach(file => {
const fullPath = parentPath ? `${parentPath}/${file.name}` : file.name;
this.$set(this.folderMap, fullPath, true);
this.$set(this.folderMap, fullPath, false);
if (file.isDirectory && file.children) {
initializeFolderMap(file.children, fullPath);
}