feat: 产品完善 #44

Merged
zksu merged 2 commits from zksu/WEB:main into main 2026-01-16 08:00:17 +00:00
1 changed files with 0 additions and 6 deletions
Showing only changes of commit 49e3049681 - Show all commits

View File

@ -52,12 +52,6 @@ const DictItemImportButton: React.FC<DictItemImportButtonProps> = ({
}); });
} }
// 检查返回结果是否包含 success 字段
if (result && result.success !== undefined && !result.success) {
throw new Error(result.message || '导入失败');
}
onSuccess?.(result);
// 显示导入结果详情 // 显示导入结果详情
showImportResult(result); showImportResult(result);