Hwacc
Results
1
issues of
Hwacc
在这种情况下: mescroll-uni作为part使用,非flex布局,高度通过mounted计算后动态绑定到height属性上时, 发现:`triggerUpScroll`中`getScrollBottom`计算不正确, 进一步发现是`getClientHeight`获取不正确。 原因:动态绑定height后, 未调用`setClientHeight`,子组件mescroll-uni mounted后的`setClientHeight`的标志位也已被改变 解决:暂时将 ```javascript watch:{ height(val, preVal) { if(val !== preVal) { this.setClientHeight(true) } } } setClientHeight(force) { if (this.mescroll.getClientHeight(true) === 0 && !this.isExec ||...