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

本地开发情况下,创建webWorker报错 #4751

Closed
ybj6118 opened this issue Mar 11, 2023 · 1 comment
Closed

本地开发情况下,创建webWorker报错 #4751

ybj6118 opened this issue Mar 11, 2023 · 1 comment

Comments

@ybj6118
Copy link

ybj6118 commented Mar 11, 2023

"@antv/g2": "^4.2.9"
electron内置Chrome/108.0.5359.215
在/geometry/label/util/createWorker.js中
本地环境创建worker报错,本人自己查询到由于浏览器策略问题,本地无法创建worker。想请问一下如何进行本地开发

@ybj6118
Copy link
Author

ybj6118 commented Mar 13, 2023

解决了,html上添加了一个meta标签

@ybj6118 ybj6118 closed this as completed Mar 13, 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

1 participant