@@ -70,9 +70,10 @@ const handleSelect = (index: string) => {
}
.layout-menu {
background-color: #fff;
- height: 100%;
+ height: calc(100vh - var(--el-header-height));
border: none;
flex-shrink: 0;
+ overflow: auto;
.layout-menu .el-menu-item.is-active {
background-color: var(--el-color-primary);
@@ -55,6 +55,7 @@ const handleQuery = () => {
const handleReset = () => {
query.value = {}
+ handleQuery()
// ============== 查询部分结束 ===============