.el-scrollbar ::v-deep .is-horizontal{ display: none; } 使用样式穿透,直接将整个div隐藏起来 同理,y轴也可通过审查元素,结合样式穿透实现隐藏效果