Skip to content

Commit

Permalink
feat:修改comment提出的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
yangxu23 committed Feb 13, 2025
1 parent adb17e2 commit 47cad4f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/amis/src/renderers/Images.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ export class ImagesField extends React.Component<ImagesProps> {
style={this.generateTranslate(sortType, index)}
width={this.generateWidth(sortType, index)}
height={this.generateHeight(sortType, index)}
hoverMode={this.props.hoverMode}
hoverMode={this.props.hoverMode || 'text-style-4'}
index={index}
className={cx('Images-item')}
key={index}
Expand Down Expand Up @@ -637,7 +637,7 @@ export class ImagesField extends React.Component<ImagesProps> {
<div className={cx('Images', listClassName)}>
{list.map((item: any, index: number) => (
<Image
hoverMode={this.props.hoverMode}
hoverMode={this.props.hoverMode || 'text-style-4'}
fontStyle={this.props.fontStyle}
index={index}
className={cx('Images-item')}
Expand Down Expand Up @@ -675,7 +675,7 @@ export class ImagesField extends React.Component<ImagesProps> {
) : defaultImage ? (
<div className={cx('Images', listClassName)}>
<Image
hoverMode={this.props.hoverMode}
hoverMode={this.props.hoverMode || 'text-style-4'}
className={cx('Images-item')}
src={defaultImage}
thumbMode={thumbMode}
Expand Down

0 comments on commit 47cad4f

Please sign in to comment.