父节点设置overflow-x: scroll; 超出横向滚动
如何用点击事件设置横向滚动条滚动位置 50px
ref="parent"
this.$nextTick(()=>{
this.$refs.parent.scrollLeft=-200/200 无反应
})
1***@qq.com
- 发布:2021-12-22 15:20
- 更新:2021-12-22 15:20
- 阅读:839
0 个回复