Skip to content

Commit

Permalink
fix(image): wrong condition on shouldGetImageDimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlee11 committed Dec 11, 2023
1 parent e3ff85c commit 33f193e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Image/src/Image.vue
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export default {
},
shouldGetImageDimensions() {
return this.shape !== 'square' || this.shape !== 'original';
return this.shape !== 'square' && this.shape !== 'original';
},
transitionComponent() {
Expand Down

0 comments on commit 33f193e

Please sign in to comment.