question-answer
                                
                                
                                
                                    question-answer copied to clipboard
                            
                            
                            
                        使用<cube-scroll>中的scrollTo方法滚动到指定scrollHeight位置到时候,会产生滚动后又归位的情况
使用
给个复现demo以及步骤吧
给个复现demo以及步骤吧
好的,我整理下发出来
在滚动之前加个 this.$refs.scroll.refresh(); 就可以了
    this.$refs.scroll.refresh();
    this.$refs.scroll.scrollTo(0, Number(top), 0, 'ease');