fix: 租户选择下拉框会跟随body滚动

This commit is contained in:
dap
2025-04-05 22:52:48 +08:00
parent 21fb9c8c99
commit 7bc36d2b84
2 changed files with 2 additions and 0 deletions

View File

@@ -139,6 +139,7 @@ function filterOption(input: string, option: TenantOption) {
:filter-option="filterOption"
:options="tenantList"
:placeholder="$t('component.tenantToggle.placeholder')"
:dropdown-style="{ position: 'fixed' }"
allow-clear
class="w-60"
show-search