fix: 修复 Windows 符号链接处理逻辑,确保 datasets 目录正确创建

fix: 修正当前图像选择逻辑,始终使用 items[0] 作为当前图像
This commit is contained in:
2026-07-17 10:39:20 +08:00
parent 1bde0fe430
commit 9d341bd4d4
2 changed files with 11 additions and 1 deletions

View File

@@ -166,7 +166,7 @@ const ReviewDetailPage: React.FC<{ campaignId: string }> = ({ campaignId }) => {
useEffect(() => { loadPage(currentIdx); }, [currentIdx, loadPage]);
const currentImage = items[currentIdx];
const currentImage = items[0];
const currentScore = currentImage ? (localScores[currentImage.image_path] || currentImage.score || "pending") : "pending";
useEffect(() => {