只需要在出现滚动条的元素上加上 - webkit - scrollbar 属性即可 // box为当前出现滚动条的容器 .box::-webkit-scrollbar { display: none }