-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Taro 4.0.7 生产模式无法渲染 dangerouslySetInnerHTML 中的内容 #16892
Comments
可以在编译配置里面 临时加下这个 alias |
没毛病,是已知问题吗?准备啥时候发新版本修复 |
@TheKonka 发现加完这个之后,所有的npm包都会依赖上 @tarojs/runtime 有其他修复方式吗。 |
This was referenced Nov 23, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
字节跳动小程序
复现仓库
https://github.com/alexlees/demo-bug-taro4.git
小程序基础库: 3.44.0.2
使用框架: React
复现步骤
期望结果
正常渲染 dangerouslySetInnerHTML 中的内容
实际结果
未渲染 dangerouslySetInnerHTML 内容
环境信息
补充信息
与 Prebundle 有关,生产环境开启 Prebundle 后能正常。
The text was updated successfully, but these errors were encountered: