Replies: 2 comments 9 replies
|
@Ringtu 修改 FileTreeNext 源码方案可以看这里的代码: 这里的逻辑是文件树在渲染时最终请求到的数据位置,你可以在下面代码位置追加一个判断 if (filestat.isDirectory && filestat.url.endwith('package.json')) {
// ...
}同时在 额外 处理这种情况下的返回值即可。 |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
有一个需求,想在资源管理器中的某个具体的文件,展开文件具体的内容。比如json文件,我想在资源管理器中展开显示package.json文件中的依赖项。类似于这样:

有什么好的意见吗,目前有两个方案:
All reactions