Skip to content

Commit bcb00c0

Browse files
committed
fix: fix the bug of slot param contentH is wrong
1 parent 5e1253c commit bcb00c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/packages/SmartWidget.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ export default {
242242
return widgetBodyH
243243
},
244244
getContentH () {
245-
const widgetBodyH = this.widgetBodyOffsetHeight
245+
const widgetBodyH = this.getWidgetBodyH()
246246
const paddingH = this.getPaddingH()
247247
const widgetBodyEditBoxH = this.widgetBodyEditBoxH
248248
const widgetBodyFooterH = this.widgetBodyFooterH

0 commit comments

Comments
 (0)