Procházet zdrojové kódy

协同建构gotype

11wqe1 před 2 týdny
rodič
revize
aab311323b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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: "",