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

有些网站打包有问题 #4

Closed
zcyc opened this issue Oct 14, 2022 · 2 comments
Closed

有些网站打包有问题 #4

zcyc opened this issue Oct 14, 2022 · 2 comments

Comments

@zcyc
Copy link

zcyc commented Oct 14, 2022

您好,我这里测试发现有些网站 dev 和 build 都白屏,比如 https://www.baidu.com/

有些网站 dev 可以显示,build 后白屏,比如 http://news.cntv.cn/special/shzyhxjzg/

最初我觉得是证书问题,但是 http://tv.cctv.com/lm/jdft/jd/index.shtml 没有证书,dev 和 build 都可以显示。

您知道是为啥吗?

白屏具体表现如图:
image

@zcyc zcyc changed the title 请教一个关于打包的问题 有些网站打包有问题 Oct 14, 2022
@tw93
Copy link
Owner

tw93 commented Oct 14, 2022

main 代码里面 你可以看看有一个dev tool我注释了111行和116行 可以打开 然后调试看日志,大概率是网站本地的限制

@tw93 tw93 closed this as completed Oct 15, 2022
@zcyc
Copy link
Author

zcyc commented Oct 15, 2022

main 代码里面 你可以看看有一个dev tool我注释了111行和116行 可以打开 然后调试看日志,大概率是网站本地的限制

打开注释以后无法打包,只能 dev。有些网站 dev 正常,打包以后白屏,怎么调试?

Tlntin added a commit that referenced this issue Jan 8, 2023
tw93 pushed a commit that referenced this issue Aug 4, 2023
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

2 participants