Ver código fonte

Update index.tsx

TIANYONG 8 meses atrás
pai
commit
307e2cd5f2
1 arquivos alterados com 3 adições e 0 exclusões
  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;