Skip to content

Commit 8b8af76

Browse files
committed
fix v-img
1 parent ac74f5b commit 8b8af76

File tree

1 file changed

+1
-1
lines changed
  • packages/vuetify/src/components/VImg

1 file changed

+1
-1
lines changed

packages/vuetify/src/components/VImg/VImg.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ export default mixins(
244244
let content: VNode = VResponsive.methods.genContent.call(this)
245245

246246
if (this.naturalWidth) {
247-
content = h(content.type, mergeProps(content.data!, {
247+
content = h(content.type, mergeProps(content.props, {
248248
style: { width: `${this.naturalWidth}px` },
249249
}), content.children)
250250
}

0 commit comments

Comments
 (0)