mirror of
https://gitee.com/dromara/go-view.git
synced 2025-04-06 03:58:04 +08:00
fix: 修复因画布未默认设置背景色或背景图片导致预览时的混合状态未生效问题
This commit is contained in:
parent
e391520ce3
commit
2a129d0ee3
@ -33,7 +33,7 @@ export const getStatusStyle = (attr: StatusType) => {
|
||||
export const getEditCanvasConfigStyle = (canvas: EditCanvasConfigType) => {
|
||||
// 背景
|
||||
const computedBackground = canvas.selectColor
|
||||
? { background: canvas.background }
|
||||
? { background: canvas.background || '#000000' }
|
||||
: {
|
||||
background: `url(${canvas.backgroundImage}) center center / cover no-repeat !important`
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user