Skip to content

Commit

Permalink
fix: image样式属性监听 (#632)
Browse files Browse the repository at this point in the history
  • Loading branch information
honorsuper authored Mar 13, 2023
1 parent da9d425 commit 069011b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-vant/src/components/image/Image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const Image: React.FC<ImageProps> = props => {
}

return internalStyle
}, [props.style])
}, [props.style,props.width,props.height,props.radius])

useEffect(() => {
const payload = { error: false, loading: true } as typeof status
Expand Down

0 comments on commit 069011b

Please sign in to comment.