Quellcode durchsuchen

fix: 评测模式,打击乐subjectId传1

TIANYONG vor 1 Jahr
Ursprung
Commit
0b6dd2f59c
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/subpages/colexiu/buttons/evaluating.tsx

+ 1 - 1
src/subpages/colexiu/buttons/evaluating.tsx

@@ -171,7 +171,7 @@ const connect = async () => {
 
   const content = {
     musicXmlInfos: formatTimes(),
-    subjectId: detailState.subjectId,
+    subjectId: detailState.subjectId ? detailState.subjectId : detailState.isPercussion ? 1 : detailState.subjectId,
     detailId: detailState.activeDetail?.id,
     examSongId: search.id,
     xmlUrl: detailState?.activeDetail?.xmlUrl,