fix: auto bgcolor remove

This commit is contained in:
jialin
2024-11-28 22:03:33 +08:00
parent 75ac74ca5e
commit 849150c9ab
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -69,16 +69,16 @@ const SingleImage: React.FC<SingleImageProps> = (props) => {
return (
<div
key={uid}
className={classNames('single-image', { 'auto-bg-color': false })}
className={classNames('single-image', { 'auto-bg-color': autoBgColor })}
>
{/* {autoBgColor && (
{autoBgColor && (
<div
className="mask"
style={{
background: `url(${dataUrl}) center center / cover no-repeat`
}}
></div>
*/}
)}
<span
className="thumb-img"
style={{
@@ -466,7 +466,7 @@ const GroundImages: React.FC<MessageProps> = forwardRef((props, ref) => {
flexWrap: 'unset',
alignItems: 'center'
}}
autoBgColor={true}
autoBgColor={false}
editable={false}
dataList={imageList}
loading={loading}