59 分钟以前 5367b3b4d92588c4e76728e6bd4ad6aae0cbb967
src/components/table-action/table-action.vue
@@ -6,10 +6,10 @@
import { computed, unref, watch } from 'vue';
import { useAccess } from '../../packages/effects/access/src';
import { IconifyIcon } from '../../packages/icons/src';
import { $t } from '../../packages/locales/src';
import { isBoolean, isFunction } from '../../packages/utils/src';
import { useAccess } from '@vben/access';
import { IconifyIcon } from '@vben/icons';
import { $t } from '@vben/locales';
import { isBoolean, isFunction } from '@vben/utils';
import {
  Button,
@@ -96,6 +96,8 @@
  if (popConfirm.cancel && isFunction(popConfirm.cancel)) {
    attrs.onCancel = popConfirm.cancel;
  }
  // 不设置 getPopupContainer,让它默认挂载到 body,避免被遮挡
  return attrs;
}
@@ -269,6 +271,12 @@
}
.ant-popconfirm {
  width: 210px;
  //.ant-popconfirm-message {
  //  white-space: nowrap;
  //}
  .ant-popconfirm-buttons {
    .ant-btn {
      margin-inline-start: 4px !important;