vue横向滚动条,初始化位置


mounted(){
            this.$nextTick(()=>{
                setTimeout(() => {
                    this.$refs.rightTable.scrollLeft = 1500;
                }, 200);
            })
        },

 

posted @ 2021-07-20 15:05  Mr、DIVE  阅读(1080)  评论(0编辑  收藏  举报