diff --git a/src/style/theme/common.scss b/src/style/theme/common.scss index 0c857a4..b17d9cb 100644 --- a/src/style/theme/common.scss +++ b/src/style/theme/common.scss @@ -39,35 +39,6 @@ body { color: #1E2226; text-align: left; } -/* 隐藏全局滚动条 */ -/* 全局隐藏滚动条但排除el-table */ -*:not(.el-table)::-webkit-scrollbar { - display: none; - } - - body { - scrollbar-width: none; - -ms-overflow-style: none; - } -.element { - overflow: hidden; /* 通用方法 */ - scrollbar-width: none; /* Firefox */ -} - -/* 对于WebKit浏览器 */ -.element::-webkit-scrollbar { - display: none; /* Chrome, Safari, Edge */ -} - -.el-table__body-wrapper::-webkit-scrollbar { - display: block !important; - width: 6px; - height: 6px; - } - .el-table__body-wrapper::-webkit-scrollbar-thumb { - background: #c1c1c1; - border-radius: 3px; - } .common_title{ font-weight: bold; diff --git a/src/views/agent/home.vue b/src/views/agent/home.vue index 1c1a3bc..c269624 100644 --- a/src/views/agent/home.vue +++ b/src/views/agent/home.vue @@ -36,7 +36,7 @@