mirror of
https://github.com/imdap/ruoyi-plus-vben5.git
synced 2026-05-05 17:11:26 +08:00
refactor(antd): 移除Popconfirm中已废弃的getVxePopupContainer属性
antd已支持滚动跟随,不再需要手动指定getVxePopupContainer属性。删除相关代码及工具函数,简化实现。
This commit is contained in:
@@ -7,7 +7,7 @@ import type { Dept } from '#/api/system/dept/model';
|
||||
import { nextTick } from 'vue';
|
||||
|
||||
import { Page, useVbenDrawer } from '@vben/common-ui';
|
||||
import { eachTree, getVxePopupContainer } from '@vben/utils';
|
||||
import { eachTree } from '@vben/utils';
|
||||
|
||||
import { Popconfirm, Space } from 'antdv-next';
|
||||
|
||||
@@ -163,7 +163,6 @@ function setExpandOrCollapse(expand: boolean) {
|
||||
{{ $t('pages.common.add') }}
|
||||
</ghost-button>
|
||||
<Popconfirm
|
||||
:get-popup-container="getVxePopupContainer"
|
||||
placement="left"
|
||||
title="确认删除?"
|
||||
@confirm="handleDelete(row)"
|
||||
|
||||
Reference in New Issue
Block a user