Przeglądaj źródła

协同建构gotype

11wqe1 2 tygodni temu
rodzic
commit
aab311323b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/components/pages/synergyCourse/course.vue

+ 1 - 1
src/components/pages/synergyCourse/course.vue

@@ -309,7 +309,7 @@ export default {
   components: { EditorBar,backPage },
   data() {
     return {
-      gotype:sessionStorage.getItem('gotype'),
+      gotype:(window.topU && window.topU.gotype) ?  window.topU.gotype : '',
       itemCount: 1,
       courseTitle: "",
       courseText: "",