浏览代码

Merge branch 'beta' of https://git.cocorobo.cn/CocoRoboLabs/pbl-teacher-table into beta

SanHQin 2 月之前
父节点
当前提交
d81f4660bc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/pages/synergyCourse/course.vue

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

@@ -572,7 +572,7 @@ export default {
       }
     },
     open(cid, uid) {
-      if (uid == this.userid || top.US.userInfo.type==1) {
+      if (uid == this.userid || top.US.userInfo.role==1) {
         window.parent.postMessage(
           {
             tools: "opencCscl",