fix: remove getPopupContainer
This commit is contained in:
parent
64d3a21153
commit
af3fdeb1da
@ -10,7 +10,6 @@ import { useAccess } from '@vben/access';
|
|||||||
import { DEFAULT_HOME_PATH } from '@vben/constants';
|
import { DEFAULT_HOME_PATH } from '@vben/constants';
|
||||||
import { useTabs } from '@vben/hooks';
|
import { useTabs } from '@vben/hooks';
|
||||||
import { $t } from '@vben/locales';
|
import { $t } from '@vben/locales';
|
||||||
import { getPopupContainer } from '@vben/utils';
|
|
||||||
|
|
||||||
import { message, Select } from 'ant-design-vue';
|
import { message, Select } from 'ant-design-vue';
|
||||||
import { storeToRefs } from 'pinia';
|
import { storeToRefs } from 'pinia';
|
||||||
@ -97,7 +96,6 @@ function filterOption(input: string, option: TenantOption) {
|
|||||||
<div v-if="showToggle" class="mr-[8px] hidden md:block">
|
<div v-if="showToggle" class="mr-[8px] hidden md:block">
|
||||||
<Select
|
<Select
|
||||||
v-model:value="selected"
|
v-model:value="selected"
|
||||||
:get-popup-container="getPopupContainer"
|
|
||||||
:field-names="{ label: 'companyName', value: 'tenantId' }"
|
:field-names="{ label: 'companyName', value: 'tenantId' }"
|
||||||
:filter-option="filterOption"
|
:filter-option="filterOption"
|
||||||
:options="tenantList"
|
:options="tenantList"
|
||||||
|
Loading…
Reference in New Issue
Block a user