antvis/G6




The issue has been closed
background插件background和backgroundImage同时设置的问题 #5915
zhangsai521314 posted onGitHub
Describe the bug / 问题描述
1:当把背景图的插件设置:background和backgroundImage同时存在时会出现问题,内部是否需要backgroundImage优先于background
{
type: 'background',
background: 'red',
backgroundImage:
'url(https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*0Qq0ToQm1rEAAAAAAAAAAAAADmJ7AQ/original)',
backgrounfRepeat: 'no-repeat',
backgroundSize: 'cover',
opacity: 1,
}
:
2:当设置背景图的opacity为1时,网格线被覆盖,网格线层级应该高于背景图吧
Reproduction link / 重现链接
https://stackblitz.com/edit/react-nsra7v?file=index.js
Steps to Reproduce the Bug or Issue / 重现步骤
No response
G6 Version / G6 版本
🆕 5.x
Operating System / 操作系统
Windows
Browser / 浏览器
Firefox
Additional context / 补充说明
No response