-
-
-
@@ -72,6 +74,14 @@ function setLayout() {
height: 100%;
width: 100%;
+ .el-scrollbar{
+ height: 100%;
+ }
+
+ :deep(.el-scrollbar__wrap) {
+ overflow-x: hidden;
+ }
+
&.mobile.openSidebar {
position: fixed;
top: 0;
diff --git a/src/main.js b/src/main.js
index b399777..f349872 100644
--- a/src/main.js
+++ b/src/main.js
@@ -6,6 +6,7 @@ import ElementPlus from 'element-plus'
import locale from 'element-plus/lib/locale/lang/zh-cn' // 中文语言
import '@/assets/styles/index.scss' // global css
+
import App from './App'
import store from './store'
import router from './router'