feat:【antd】【crm】产品分类的代码优化
This commit is contained in:
@@ -54,7 +54,7 @@ async function handleDelete(row: InfraFileApi.File) {
|
||||
text: $t('ui.actionMessage.deleting', [row.name || row.path]),
|
||||
});
|
||||
try {
|
||||
await deleteFile(row.id as number);
|
||||
await deleteFile(row.id!);
|
||||
ElMessage.success(
|
||||
$t('ui.actionMessage.deleteSuccess', [row.name || row.path]),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user