fix: 修复 Windows 符号链接处理逻辑,确保 datasets 目录正确创建
fix: 修正当前图像选择逻辑,始终使用 items[0] 作为当前图像
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user