Преглед изворни кода

Merge branch 'gyt-feature-tianyong' into gyt-test

TIANYONG пре 1 година
родитељ
комит
89c0fc73b4
1 измењених фајлова са 1 додато и 1 уклоњено
  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,