antvis/G6

The issue has been closed
背景颜色不生效 #5912
zhangsai521314 posted onGitHub
Describe the bug / 问题描述
配置的background或使用 graph.setBackground('#0960BD')设置后并使用 graph.draw(); 后不起作用,且alert(graph.getBackground());获取为设置的值。
Reproduction link / 重现链接
https://stackblitz.com/edit/react-pix9kk?file=index.js
Steps to Reproduce the Bug or Issue / 重现步骤
打开重现链接
G6 Version / G6 版本
🆕 5.x
Operating System / 操作系统
Windows
Browser / 浏览器
Firefox
Additional context / 补充说明
No response