/重写全局的css样式,别再单个组件里面写/
html {
overflow-y: scroll;
}
/防止出现底部滚动条/
:root {
overflow-y: auto;
overflow-x: hidden;
}
:root body {
position: absolute;
}
body {
margin: 0;
padding: 0;
width: 100vw;
overflow: hidden;
}
/重写全局的css样式,别再单个组件里面写/
html {
overflow-y: scroll;
}
/防止出现底部滚动条/
:root {
overflow-y: auto;
overflow-x: hidden;
}
:root body {
position: absolute;
}
body {
margin: 0;
padding: 0;
width: 100vw;
overflow: hidden;
}