review:【ANTD】TableAction

This commit is contained in:
YunaiV
2025-05-15 12:13:11 +08:00
parent e8c87b5a2b
commit 56263ec782
2 changed files with 2 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
<!-- add by 星语参考 vben2 的方式增加 TableAction 组件 -->
<script setup lang="ts">
import type { ButtonType } from 'ant-design-vue/es/button';

View File

@@ -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]),