uni-app icon indicating copy to clipboard operation
uni-app copied to clipboard

uni-popup 组件配合 rich-text组件自定义内联样式导致页面卡死

Open zerobin opened this issue 1 year ago • 3 comments

复现代码: 环境配置: node: 16.14.2 npm:8.5.0 vite: 4.0.3 https://github.com/dcloudio 版本:3.0.0-alpha-3080520230616001(当前最新的版本, 老版本:3.0.0-alpha-3040220220310005没有这个问题)

问题描述:在h5生产构建打包后 rich-text组件里面自定义style样式,导致出现弹窗就卡死页面,浏览器上面未报错 去掉style="text-align: center;" 后正常 本地开发环境没有这个问题, 目前解决方案是采用class,或者直接把样式定义到父级上面

期望:生产环境打包后rich-text 组件能自定义style样式

zerobin avatar Jun 21 '23 08:06 zerobin