xiongwei
xiongwei
当上传图片名中含有(),空格等特俗字符时,如图片名123(1).png,123 abc4.png,上传成功后,预览图片,显示不了图片(黑的),看了 Gallery这个组件源码, imgs.map( (img, i) => { const imgStyle = { backgroundImage: `url(${img})`, backgroundSize: 'contain', backgroundRepeat: 'no-repeat', backgroundPosition: 'center center' };, backgroundImage: `url(${img})`,这个地方,当Img中含有括号、空格等特俗字符时,backgroundImage属性是解析不成功的
### 问题描述 参照官方缩进树树图demo绘制树图,初始绘制出来的缩进树折线线条粗细不均。(没有经过缩放)。发现官方的demo绘制出来的折线就存在粗细不均情况 https://g6.antv.antgroup.com/zh/examples/tree/indented/#filesystem。数据多的时候大屏下展示非常明显 ### 重现链接 官方demohttps://g6.antv.antgroup.com/zh/examples/tree/indented/#filesystem ### 重现步骤 查看官方demo,即可看到绘制的线条粗细不均,不明显的话可以将线条颜色改为红色,以及多添加点数据即可看得很明显。需要重复画的路径线条更粗,颜色更深,好像叠加绘制了一样。 ### 预期行为 折线线条应该不同部分粗细也保持一样 ### 平台 - 操作系统: [macOS, Windows, Linux, React Native ...] - 网页浏览器: [Google Chrome, Safari, Firefox] -...