Browse Source

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

SanHQin 2 months ago
parent
commit
d81f4660bc
1 changed files with 1 additions and 1 deletions
  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) {
     open(cid, uid) {
-      if (uid == this.userid || top.US.userInfo.type==1) {
+      if (uid == this.userid || top.US.userInfo.role==1) {
         window.parent.postMessage(
         window.parent.postMessage(
           {
           {
             tools: "opencCscl",
             tools: "opencCscl",