diff --git a/packages/amis/src/renderers/Image.tsx b/packages/amis/src/renderers/Image.tsx index f5470485926..a327cea4a34 100644 --- a/packages/amis/src/renderers/Image.tsx +++ b/packages/amis/src/renderers/Image.tsx @@ -623,7 +623,7 @@ export class ImageField extends React.Component< themeCss: wrapperCustomStyle }) )} - style={{...style, transform: `scale(${this.state.scale})`}} + style={{transform: `scale(${this.state.scale})`, ...style}} onClick={this.handleClick} onMouseEnter={this.handleMouseEnter} onMouseLeave={this.handleMouseLeave}