chore: replace to ghost-button
This commit is contained in:
@@ -5,6 +5,7 @@ import { ref } from 'vue';
|
||||
import { useRoute } from 'vue-router';
|
||||
|
||||
import { Page, useVbenDrawer, type VbenFormProps } from '@vben/common-ui';
|
||||
import { getPopupContainer } from '@vben/utils';
|
||||
|
||||
import { Modal, Popconfirm, Space } from 'ant-design-vue';
|
||||
|
||||
@@ -142,19 +143,18 @@ function handleMultipleAuthCancel() {
|
||||
</template>
|
||||
<template #action="{ row }">
|
||||
<Popconfirm
|
||||
:get-popup-container="getPopupContainer"
|
||||
:title="`是否取消授权用户[${row.userName} - ${row.nickName}]?`"
|
||||
placement="left"
|
||||
@confirm="handleAuthCancel(row)"
|
||||
>
|
||||
<a-button
|
||||
<ghost-button
|
||||
danger
|
||||
size="small"
|
||||
type="link"
|
||||
v-access:code="['system:role:remove']"
|
||||
@click.stop=""
|
||||
>
|
||||
取消授权
|
||||
</a-button>
|
||||
</ghost-button>
|
||||
</Popconfirm>
|
||||
</template>
|
||||
</BasicTable>
|
||||
|
Reference in New Issue
Block a user