diff --git a/ruoyi-ui/src/layout/components/AppMain.vue b/ruoyi-ui/src/layout/components/AppMain.vue index 25d5a25ac..55804bbed 100644 --- a/ruoyi-ui/src/layout/components/AppMain.vue +++ b/ruoyi-ui/src/layout/components/AppMain.vue @@ -50,12 +50,3 @@ export default { } } - - diff --git a/ruoyi-ui/src/layout/index.vue b/ruoyi-ui/src/layout/index.vue index 202cfcd60..5e00d6425 100644 --- a/ruoyi-ui/src/layout/index.vue +++ b/ruoyi-ui/src/layout/index.vue @@ -1,17 +1,19 @@ @@ -72,6 +74,14 @@ export default { height: 100%; width: 100%; + .el-scrollbar{ + height: 100%; + } + + ::v-deep .el-scrollbar__wrap { + overflow-x: hidden; + } + &.mobile.openSidebar { position: fixed; top: 0;