We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
复现代码: <uni-popup ref="hint" type="center"> <rich-text :nodes="'测试'" style="text-align: center;"></rich-text> </uni-popup> 环境配置: node: 16.14.2 npm:8.5.0 vite: 4.0.3 @dcloudio 版本:3.0.0-alpha-3080520230616001(当前最新的版本, 老版本:3.0.0-alpha-3040220220310005没有这个问题)
<uni-popup ref="hint" type="center"> <rich-text :nodes="'测试'" style="text-align: center;"></rich-text> </uni-popup>
问题描述:在h5生产构建打包后 rich-text组件里面自定义style样式,导致出现弹窗就卡死页面,浏览器上面未报错 去掉style="text-align: center;" 后正常 本地开发环境没有这个问题, 目前解决方案是采用class,或者直接把样式定义到父级上面
style="text-align: center;"
期望:生产环境打包后rich-text 组件能自定义style样式
The text was updated successfully, but these errors were encountered:
能否提供一下更加完整的代码demo(zip压缩包)
Sorry, something went wrong.
No branches or pull requests
复现代码:
<uni-popup ref="hint" type="center"> <rich-text :nodes="'测试'" style="text-align: center;"></rich-text> </uni-popup>
环境配置:
node: 16.14.2
npm:8.5.0
vite: 4.0.3
@dcloudio 版本:3.0.0-alpha-3080520230616001(当前最新的版本, 老版本:3.0.0-alpha-3040220220310005没有这个问题)
问题描述:在h5生产构建打包后
rich-text组件里面自定义style样式,导致出现弹窗就卡死页面,浏览器上面未报错
去掉
style="text-align: center;"
后正常本地开发环境没有这个问题,
目前解决方案是采用class,或者直接把样式定义到父级上面
期望:生产环境打包后rich-text 组件能自定义style样式
The text was updated successfully, but these errors were encountered: