Skip to content

Commit 15c4b16

Browse files
committed
feat: use offsetHeight instead of clientHeight
1 parent d20d970 commit 15c4b16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/VueEllipseProgress.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export default {
113113
},
114114
mounted() {
115115
this.$nextTick(() => {
116-
this.legendHeight = this.$refs.legend.clientHeight;
116+
this.legendHeight = this.$refs.legend.offsetHeight;
117117
});
118118
},
119119
};

0 commit comments

Comments
 (0)