mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 03:58:05 +08:00
fix: getPopupContainer not work
This commit is contained in:
parent
266482deca
commit
d933605b56
@ -20,8 +20,12 @@ export default (name: string, props: Record<any, any>) => {
|
||||
const space = configProvider.space;
|
||||
const pageHeader = configProvider.pageHeader;
|
||||
const form = configProvider.form;
|
||||
const getTargetContainer = configProvider.getTargetContainer;
|
||||
const getPopupContainer = configProvider.getPopupContainer;
|
||||
const getTargetContainer = computed(
|
||||
() => props.getTargetContainer ?? configProvider.getTargetContainer,
|
||||
);
|
||||
const getPopupContainer = computed(
|
||||
() => props.getPopupContainer ?? configProvider.getPopupContainer,
|
||||
);
|
||||
|
||||
const dropdownMatchSelectWidth = computed<boolean | number>(
|
||||
() => props.dropdownMatchSelectWidth ?? configProvider.dropdownMatchSelectWidth?.value,
|
||||
|
Loading…
Reference in New Issue
Block a user