Sfoglia il codice sorgente

Merge branch 'feature-tianyong' into gym-online

TIANYONG 8 mesi fa
parent
commit
20ec765db7
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      src/view/evaluating/index.tsx

+ 3 - 0
src/view/evaluating/index.tsx

@@ -622,6 +622,9 @@ export const handleViewReport = (key: "recordId" | "recordIdStr", type: "gym" |
       break;
     case "instrument":
       url = location.origin + location.pathname + "#/evaluat-report?id=" + id + "&musicRenderType=" + state.musicRenderType + "&systemType=" + state.systemType;
+      if (state.isSchool) {
+        url += `&school=1`;
+      }
       break;
     default:
       url = location.origin + location.pathname + "report-share.html?id=" + id;