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

native下对于readDir的包装结果和小游戏上的不一致 #16903

Open
Modo-Global opened this issue Apr 16, 2024 · 0 comments
Open

native下对于readDir的包装结果和小游戏上的不一致 #16903

Modo-Global opened this issue Apr 16, 2024 · 0 comments
Assignees
Labels
Bug Needs Triage Needs to be assigned by the team

Comments

@Modo-Global
Copy link

Cocos Creator version

3.8.2

System information

原生

Issue description

在native中,使用fsUtils.readDir得到的结果是绝对路径,但是在小游戏和nodejs的fs对应的readdir得到的结果是相对路径。
期望原生能和小游戏的保持一致,返回相对的路径。

Relevant error log output

No response

Steps to reproduce

分别在小游戏和原生的时候调用readDir对比结果。

Minimal reproduction project

No response

@Modo-Global Modo-Global added Bug Needs Triage Needs to be assigned by the team labels Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Needs Triage Needs to be assigned by the team
Projects
None yet
Development

No branches or pull requests

2 participants