diff --git a/apps/web-antd/src/views/demo/demo/index.vue b/apps/web-antd/src/views/demo/demo/index.vue index bf6ea62e..965ff66f 100644 --- a/apps/web-antd/src/views/demo/demo/index.vue +++ b/apps/web-antd/src/views/demo/demo/index.vue @@ -4,6 +4,7 @@ import type { Recordable } from '@vben/types'; import { ref } from 'vue'; import { Page, useVbenModal, type VbenFormProps } from '@vben/common-ui'; +import { getPopupContainer } from '@vben/utils'; import { Modal, Popconfirm, Space } from 'ant-design-vue'; import dayjs from 'dayjs'; @@ -124,13 +125,19 @@ function handleMultiDelete() { diff --git a/apps/web-antd/src/views/demo/tree/index.vue b/apps/web-antd/src/views/demo/tree/index.vue index 95adccca..12b22e4a 100644 --- a/apps/web-antd/src/views/demo/tree/index.vue +++ b/apps/web-antd/src/views/demo/tree/index.vue @@ -4,7 +4,7 @@ import type { Recordable } from '@vben/types'; import { nextTick } from 'vue'; import { Page, useVbenModal, type VbenFormProps } from '@vben/common-ui'; -import { listToTree } from '@vben/utils'; +import { getPopupContainer, listToTree } from '@vben/utils'; import { Popconfirm, Space } from 'ant-design-vue'; @@ -109,7 +109,7 @@ function collapseAll() { {{ $t('pages.common.add') }} @@ -117,29 +117,28 @@ function collapseAll() {