feat(X-Pack): 列表项下拉筛选列表添加高度限制

style调整为class
This commit is contained in:
ulleo
2025-03-25 18:04:18 +08:00
committed by 王嘉豪
parent 502a3ee00e
commit 2736388d4e

View File

@@ -64,7 +64,7 @@ const handleCheckAllChange = (val: CheckboxValueType) => {
</el-button>
<template #dropdown>
<el-dropdown-menu class="list-columns-select">
<el-main style="padding: 0; max-height: 320px">
<el-main class="main-div-select">
<p class="title">{{ $t('component.selectInfo') }}</p>
<el-checkbox
v-model="checkAll"
@@ -104,5 +104,9 @@ const handleCheckAllChange = (val: CheckboxValueType) => {
.ed-checkbox {
width: 100%;
}
.main-div-select {
max-height: 320px;
padding: 0;
}
}
</style>