Selaa lähdekoodia

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

TIANYONG 1 vuosi sitten
vanhempi
commit
0b6dd2f59c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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,