Skip to content
New issue

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

fix:修复win环境下无法获取模块的问题 #151

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

linyongliang2018
Copy link

@linyongliang2018 linyongliang2018 commented Apr 16, 2023

配置1

问题原因1
问题原因2高清

这段代码在unix系统运行没有问题,但是在winodws系统下运行会匹配不到,应该统一将反斜杠“\“ 处理成 ”/“ 。
处理方法多种多样,这里直接判断一下,如果存在”\“,那么就改成”/“;
麻烦合并一下,谢谢!

附上成功后的截图:

成功截图

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant