浏览代码

协同建构gotype

11wqe1 2 周之前
父节点
当前提交
aab311323b
共有 1 个文件被更改,包括 1 次插入1 次删除
  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: "",