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
2de57e93f5
commit
3eb3527226
@ -28,7 +28,7 @@ export const getEditCanvasConfigStyle = (canvas: EditCanvasConfigType) => {
|
||||
const computedBackground = canvas.selectColor
|
||||
? { background: canvas.background }
|
||||
: {
|
||||
background: `url(${canvas.backgroundImage}) no-repeat center/100% !important`
|
||||
background: `url(${canvas.backgroundImage}) center center / cover no-repeat !important`
|
||||
}
|
||||
return {
|
||||
position: 'relative' as const,
|
||||
|
Loading…
x
Reference in New Issue
Block a user