|
|
@@ -640,7 +640,6 @@ export default {
|
|
|
backgroundSize: bcImgUrl ? `${pos.width}% ${pos.height}%` : '',
|
|
|
backgroundPosition: bcImgUrl ? `${pos.left}% ${pos.top}%` : '',
|
|
|
backgroundImage: bcImgUrl ? `url(${bcImgUrl})` : '',
|
|
|
- backgroundColor: bcImgUrl ? `rgba(255, 255, 255, ${1 - back?.image_opacity / 100})` : '',
|
|
|
};
|
|
|
|
|
|
if (back) {
|
|
|
@@ -674,6 +673,8 @@ export default {
|
|
|
|
|
|
if (back.has_color) {
|
|
|
canvasStyle['backgroundColor'] = back.color;
|
|
|
+ } else {
|
|
|
+ canvasStyle['backgroundColor'] = '#fff';
|
|
|
}
|
|
|
|
|
|
if (back.enable_border) {
|