fix Object.assign try to write to read-only option.style (#5860)
This commit is contained in:
parent
01212c3755
commit
962eb0860c
|
|
@ -35,7 +35,7 @@ export default function VirtualizedRendererWrap(renderer) {
|
|||
<div
|
||||
className={className.join(' ')}
|
||||
key={key}
|
||||
style={Object.assign(option.style || {}, style)}
|
||||
style={{ ...(option.style || {}), ...style }}
|
||||
title={option.title}
|
||||
{...events}
|
||||
>
|
||||
|
|
|
|||
Loading…
Reference in New Issue