Home > Article > Web Front-end > How to remove side edges in uniapp
How to remove the side scroll bar in uniapp: first open the corresponding code file; then configure the global configuration to ""globalStyle": {"scrollIndicator":"none","app-plus"}" .
The operating environment of this tutorial: windows7 system, uni-app2.5.1 version, DELL G3 computer.
Uniapp’s solution to remove the right scroll bar
Use uniapp to develop small programs with a lot of content. Under WeChat developer tools and real machine debugging, A scroll bar appears on the right side, is there a way to hide the scroll bar?
Reference document: https://uniapp.dcloud.net.cn/collocation/pages?id=app-plus
Solution one:
Reference documentation: https://uniapp.dcloud.net.cn/collocation/pages?id=app-plus
Global configuration:
"globalStyle": { //全局配置 "scrollIndicator":"none", // 不显示滚动条 "app-plus"
recommends: "uniapp tutorial"
The above is the detailed content of How to remove side edges in uniapp. For more information, please follow other related articles on the PHP Chinese website!