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 ( return (
<div <div
key={uid} key={uid}
className={classNames('single-image', { 'auto-bg-color': false })} className={classNames('single-image', { 'auto-bg-color': autoBgColor })}
> >
{/* {autoBgColor && ( {autoBgColor && (
<div <div
className="mask" className="mask"
style={{ style={{
background: `url(${dataUrl}) center center / cover no-repeat` background: `url(${dataUrl}) center center / cover no-repeat`
}} }}
></div> ></div>
*/} )}
<span <span
className="thumb-img" className="thumb-img"
style={{ style={{
@@ -466,7 +466,7 @@ const GroundImages: React.FC<MessageProps> = forwardRef((props, ref) => {
flexWrap: 'unset', flexWrap: 'unset',
alignItems: 'center' alignItems: 'center'
}} }}
autoBgColor={true} autoBgColor={false}
editable={false} editable={false}
dataList={imageList} dataList={imageList}
loading={loading} loading={loading}