Browse Source

feat: 评测结果

TIANYONG 1 year ago
parent
commit
94a6fe2b42
1 changed files with 7 additions and 7 deletions
  1. 7 7
      src/view/evaluating/index.tsx

+ 7 - 7
src/view/evaluating/index.tsx

@@ -396,15 +396,15 @@ export const handleEndEvaluat = (isComplete = false) => {
 	endEvaluating({
 	endEvaluating({
 		musicScoreId: state.examSongId,
 		musicScoreId: state.examSongId,
 	});
 	});
+	showLoadingToast({
+		message: "评分中",
+		duration: 0,
+		overlay: true,
+		overlayClass: styles.scoreMode,
+	});
 	setTimeout(() => {
 	setTimeout(() => {
 		evaluatingData.startBegin = false;
 		evaluatingData.startBegin = false;
-		showLoadingToast({
-			message: "评分中",
-			duration: 0,
-			overlay: true,
-			overlayClass: styles.scoreMode,
-		});
-	}, 1000);
+	}, 500);
 	evaluatingData.isComplete = isComplete;
 	evaluatingData.isComplete = isComplete;
 	// 如果开启了摄像头, 结束录制视频
 	// 如果开启了摄像头, 结束录制视频
 	if (state.setting.camera) {
 	if (state.setting.camera) {