fix: 在VxeTable固定列时, getPopupContainer会导致宽度不够, 弹出层样式异常 解决办法(将弹窗元素挂载到VXe滚动容器上
This commit is contained in:
@@ -5,7 +5,7 @@ import { nextTick, ref } from 'vue';
|
||||
import { useRoute } from 'vue-router';
|
||||
|
||||
import { Page, useVbenDrawer, type VbenFormProps } from '@vben/common-ui';
|
||||
import { getPopupContainer } from '@vben/utils';
|
||||
import { getVxePopupContainer } from '@vben/utils';
|
||||
|
||||
import { Modal, Popconfirm, Space } from 'ant-design-vue';
|
||||
|
||||
@@ -157,7 +157,7 @@ function handleMultipleAuthCancel() {
|
||||
</template>
|
||||
<template #action="{ row }">
|
||||
<Popconfirm
|
||||
:get-popup-container="getPopupContainer"
|
||||
:get-popup-container="getVxePopupContainer"
|
||||
:title="`是否取消授权用户[${row.userName} - ${row.nickName}]?`"
|
||||
placement="left"
|
||||
@confirm="handleAuthCancel(row)"
|
||||
|
Reference in New Issue
Block a user