feat:【antd】【crm】产品分类的代码优化
This commit is contained in:
@@ -59,7 +59,7 @@ async function handleDelete(row: Demo02CategoryApi.Demo02Category) {
|
||||
background: 'rgba(0, 0, 0, 0.7)',
|
||||
});
|
||||
try {
|
||||
await deleteDemo02Category(row.id as number);
|
||||
await deleteDemo02Category(row.id!);
|
||||
ElMessage.success($t('ui.actionMessage.deleteSuccess', [row.id]));
|
||||
onRefresh();
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user