-
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
dangerouslySetInnerHTML 无法渲染内容 #17079
Comments
@tarojs/runtime': require.resolve('@tarojs/runtime') |
This was referenced Dec 28, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
微信小程序
复现仓库
https://github.com/Yang03/taro-demo.git
小程序基础库: 3.0.0
使用框架: React
复现步骤
运行npm run build:weapp
页面使用 dangerouslySetInnerHTML 渲染的内容,没有出现
期望结果
希望渲染出 html 里面的内容
实际结果
空节点
环境信息
补充信息
运行npm run dev:weapp 的结果可以
但是 build 的结果不行
The text was updated successfully, but these errors were encountered: