Преглед на файлове

Merge branch 'feature-tianyong' into gym-online

TIANYONG преди 8 месеца
родител
ревизия
20ec765db7
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  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;