Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使 FolderListModel 组件过滤文件并仅包含目录。我只想在列表视图中显示目录。
我遇到了同样的问题,这是我的解决方法:
nameFilter: ["//\\"]; showDirs: true;
不确定这个,但您可以尝试:
nameFilters: [ "" ] showDirs: true
查看文档我会说不可能从列表中过滤掉文件。