We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
图中的 ACGN 文件是指向另一个文件夹的符号链接,但是和普通的文件夹显示不同,预期的行为应该是像文件夹一样显示。
打开后跳转到了另一个简陋的目录页,如下图所示
我调试了一下后发现对于 /files?filepath=xxx 这个 API , 后端返回的 JSON 对象的 files 属性中对于文件夹的符号链接没有做出正确的判断
我对那个 chfs.js 做了以上这样一个临时的 workaround ,然后那个文件夹的符号链接就能够按照文件夹的方式打开,并正常显示里面的文件了。 $.ajax(settings) .done(function(data) { data.files.forEach((file)=>{ if(file.name==='ACGN'){ file.dir = true file.icon = 'asset/icons/folder.ico' } })
The text was updated successfully, but these errors were encountered:
请问1.8版本有没有这个问题?你用的什么系统
Sorry, something went wrong.
Windows 10
No branches or pull requests
图中的 ACGN 文件是指向另一个文件夹的符号链接,但是和普通的文件夹显示不同,预期的行为应该是像文件夹一样显示。
打开后跳转到了另一个简陋的目录页,如下图所示
我调试了一下后发现对于 /files?filepath=xxx 这个 API ,
后端返回的 JSON 对象的 files 属性中对于文件夹的符号链接没有做出正确的判断
我对那个 chfs.js 做了以上这样一个临时的 workaround ,然后那个文件夹的符号链接就能够按照文件夹的方式打开,并正常显示里面的文件了。
$.ajax(settings)
.done(function(data) {
data.files.forEach((file)=>{
if(file.name==='ACGN'){
file.dir = true
file.icon = 'asset/icons/folder.ico'
}
})
The text was updated successfully, but these errors were encountered: