滚动条滚动到指定位置
scrollWidth: function() {
this.$nextTick(() => {
let scroll_width = this.$refs.pre_box_item.scrollWidth ;
this.$refs.pre_box.scrollLeft = scroll_width;
})
},
!!
scrollWidth: function() {
this.$nextTick(() => {
let scroll_width = this.$refs.pre_box_item.scrollWidth ;
this.$refs.pre_box.scrollLeft = scroll_width;
})
},