vue-waterfall icon indicating copy to clipboard operation
vue-waterfall copied to clipboard

deal autoheight

Open PLDaily opened this issue 7 years ago • 0 comments

子元素高度未知时,通过this.$parent.height直接修改waterfall-slot中的通过prop传入的height会报错,在waterfall-slot中重新定义一个变量,通过this.$parent.slotHeight传递高度,width同理。

PLDaily avatar Jan 19 '18 08:01 PLDaily