diff --git a/anrui-scm/anrui-scm-ui/src/layout/components/AppMain.vue b/anrui-scm/anrui-scm-ui/src/layout/components/AppMain.vue index a8f3718274..6e2882598c 100644 --- a/anrui-scm/anrui-scm-ui/src/layout/components/AppMain.vue +++ b/anrui-scm/anrui-scm-ui/src/layout/components/AppMain.vue @@ -31,7 +31,7 @@ export default { /* margin-left:10px; */ padding: 0 10px; overflow-x: hidden; - overflow-y: auto; + overflow-y: hidden; } .fixed-header+.app-main { padding-top: 50px; diff --git a/anrui-scm/anrui-scm-ui/src/styles/index.scss b/anrui-scm/anrui-scm-ui/src/styles/index.scss index c2959aa82a..9a9ec4419e 100644 --- a/anrui-scm/anrui-scm-ui/src/styles/index.scss +++ b/anrui-scm/anrui-scm-ui/src/styles/index.scss @@ -108,6 +108,8 @@ div:focus { .app-container {margin: 5px; background-color: #fff; } +// 设置了滚动区域 +.main-content{ overflow-x: hidden;overflow-y: auto;height: calc(100vh - 186px);} .listcon{height: calc(100vh - 425px);overflow-y: auto;overflow-x: hidden;} .listconadd{height: calc(100vh - 200px);overflow-y: auto;overflow-x: hidden;} .listconsub{height: calc(100vh - 310px);overflow-y: auto;overflow-x: hidden;} diff --git a/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhangAdd.vue b/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhangAdd.vue index 6f294c715b..97c20fe514 100644 --- a/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhangAdd.vue +++ b/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhangAdd.vue @@ -4,7 +4,6 @@