review:【ANTD】TableAction
parent
e8c87b5a2b
commit
56263ec782
|
@ -1,3 +1,4 @@
|
|||
<!-- add by 星语:参考 vben2 的方式,增加 TableAction 组件 -->
|
||||
<script setup lang="ts">
|
||||
import type { ButtonType } from 'ant-design-vue/es/button';
|
||||
|
||||
|
|
|
@ -57,6 +57,7 @@ function onCreate() {
|
|||
}
|
||||
|
||||
/** 删除角色 */
|
||||
// TODO @xingyu:删除这个二次确认,有啥好的办法么?
|
||||
async function onDelete(row: SystemRoleApi.Role) {
|
||||
const hideLoading = message.loading({
|
||||
content: $t('ui.actionMessage.deleting', [row.name]),
|
||||
|
|
Loading…
Reference in New Issue