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

demo项目中查看源码失效 #14

Open
LadyChatterleyLover opened this issue Jan 20, 2023 · 4 comments
Open

demo项目中查看源码失效 #14

LadyChatterleyLover opened this issue Jan 20, 2023 · 4 comments

Comments

@LadyChatterleyLover
Copy link

点击查看源码按钮无效,排查是scoucemap文件出问题了

@StarRain-L
Copy link

请问怎么解决的?

@LadyChatterleyLover
Copy link
Author

请问怎么解决的?

没有解决

@StarRain-L
Copy link

我也遇见类似问题,目前排查是发现filename跟demo中的不一样,至于为什么不一样不知道. #15

@xy-sea
Copy link
Owner

xy-sea commented Feb 16, 2023

查看源码功能需要使用项目打包后的文件 如web-see-demo中的案例,读取的是dist文件中.map文件,在开发环境中该功能是无效的,造成fileName读取的不对,以下是web-see-demo的打印信息
image

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

No branches or pull requests

3 participants