| | |
| | | |
| | | 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, |
| | |
| | | if (popConfirm.cancel && isFunction(popConfirm.cancel)) { |
| | | attrs.onCancel = popConfirm.cancel; |
| | | } |
| | | |
| | | // 不设置 getPopupContainer,让它默认挂载到 body,避免被遮挡 |
| | | |
| | | return attrs; |
| | | } |
| | |
| | | } |
| | | |
| | | .ant-popconfirm { |
| | | width: 210px; |
| | | |
| | | //.ant-popconfirm-message { |
| | | // white-space: nowrap; |
| | | //} |
| | | |
| | | .ant-popconfirm-buttons { |
| | | .ant-btn { |
| | | margin-inline-start: 4px !important; |