diff --git a/snowy-admin-web/src/style/index.less b/snowy-admin-web/src/style/index.less index 1b9cf8c8..615d6ab6 100644 --- a/snowy-admin-web/src/style/index.less +++ b/snowy-admin-web/src/style/index.less @@ -334,6 +334,10 @@ a, button, input, textarea { font-weight: 600; padding-left: 8px; } +.left-tree-container { + height: calc(100vh - 8rem); + overflow: auto; +} // 滚动条,需要哪里,加哪个class body, @@ -366,7 +370,7 @@ body, .selector-table, .card-div, .ant-table-body, -.dict-tree-div, +.left-tree-container, .admin-ui-main{ &::-webkit-scrollbar { diff --git a/snowy-admin-web/src/views/biz/dict/index.vue b/snowy-admin-web/src/views/biz/dict/index.vue index ab1e8e76..0ff1d5b3 100644 --- a/snowy-admin-web/src/views/biz/dict/index.vue +++ b/snowy-admin-web/src/views/biz/dict/index.vue @@ -1,7 +1,7 @@