feat:【antd】【crm】产品分类的代码优化
This commit is contained in:
@@ -67,7 +67,7 @@ async function handleDelete(row: SystemRoleApi.Role) {
|
||||
duration: 0,
|
||||
});
|
||||
try {
|
||||
await deleteRole(row.id as number);
|
||||
await deleteRole(row.id!);
|
||||
message.success($t('ui.actionMessage.deleteSuccess', [row.name]));
|
||||
handleRefresh();
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user