1.使用 position: fixed;固定定位时内容还是会被覆盖,就可以使用z-index增加层级(仅能在定位元素上奏效)
2.第一步npm install less less-loader --save
第二步在App.vue中
<style lang="less" >
&::-webkit-scrollbar {
display: none;
}
</style>
1.使用 position: fixed;固定定位时内容还是会被覆盖,就可以使用z-index增加层级(仅能在定位元素上奏效)
2.第一步npm install less less-loader --save
第二步在App.vue中
<style lang="less" >
&::-webkit-scrollbar {
display: none;
}
</style>