chore: replace to ghost-button

This commit is contained in:
dap
2024-10-07 16:56:32 +08:00
parent 3edad0459d
commit 0f31c8df57
22 changed files with 326 additions and 323 deletions

View File

@@ -2,6 +2,7 @@
import type { Recordable } from '@vben/types';
import { Page, type VbenFormProps } from '@vben/common-ui';
import { getPopupContainer } from '@vben/utils';
import { Popconfirm } from 'ant-design-vue';
@@ -59,11 +60,12 @@ async function handleForceOffline(row: Recordable<any>) {
</template>
<template #action="{ row }">
<Popconfirm
:get-popup-container="getPopupContainer"
:title="`确认强制下线[${row.userName}]?`"
placement="left"
@confirm="handleForceOffline(row)"
>
<a-button danger size="small" type="link">强制下线</a-button>
<ghost-button danger>强制下线</ghost-button>
</Popconfirm>
</template>
</BasicTable>