perf: 删除没有必要的 message key

This commit is contained in:
xingyu4j
2025-05-06 22:06:25 +08:00
parent 60bd4a13b1
commit 4741819826
90 changed files with 146 additions and 414 deletions

View File

@@ -66,10 +66,7 @@ async function onDelete(row: InfraFileApi.File) {
});
try {
await deleteFile(row.id as number);
message.success({
content: $t('ui.actionMessage.deleteSuccess', [row.name || row.path]),
key: 'action_process_msg',
});
message.success($t('ui.actionMessage.deleteSuccess', [row.name || row.path]));
onRefresh();
} catch {
hideLoading();