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
filemanager\index.js 640行 const fileName = f.substr(f.lastIndexOf('/') + 1); 改为 const fileName = f.substr(f.lastIndexOf('\\') + 1); 664行也是一样将\改为//,然后可以正常上传了。 因为获取到的路径是C:\\Users\\test\\Documents\\\xb0\xb2\xd7\xb0\xcb\xb5\xc3\xf7.txt,用/截取不到。
const fileName = f.substr(f.lastIndexOf('/') + 1);
const fileName = f.substr(f.lastIndexOf('\\') + 1);
\
//
C:\\Users\\test\\Documents\\\xb0\xb2\xd7\xb0\xcb\xb5\xc3\xf7.txt
/
The text was updated successfully, but these errors were encountered:
ddd7e66
确实在 windows 客户端下存在这个问题,感谢 👍
Sorry, something went wrong.
Medicean
No branches or pull requests
filemanager\index.js
640行
const fileName = f.substr(f.lastIndexOf('/') + 1);
改为
const fileName = f.substr(f.lastIndexOf('\\') + 1);
664行也是一样将
\
改为//
,然后可以正常上传了。因为获取到的路径是
C:\\Users\\test\\Documents\\\xb0\xb2\xd7\xb0\xcb\xb5\xc3\xf7.txt
,用/
截取不到。The text was updated successfully, but these errors were encountered: