Browse Source

更新显示

lex 2 years ago
parent
commit
ddd2d5f321

+ 1 - 2
src/student/teacher-dependent/components/single.tsx

@@ -62,8 +62,7 @@ export default defineComponent({
           api: 'joinChatGroup',
           content: {
             type: 'multi', // single 单人 multi 多人
-            id: item.id,
-            role: 'STUDENT'
+            id: item.id
           }
         })
       }

+ 1 - 2
src/student/teacher-dependent/model/teacher-header.tsx

@@ -188,8 +188,7 @@ export default defineComponent({
                       api: 'joinChatGroup',
                       content: {
                         type: 'single', // single 单人 multi 多人
-                        id: this.teacherId,
-                        role: 'STUDENT'
+                        id: this.userInfo.imUserId
                       }
                     })
                   }}

+ 1 - 2
src/teacher/piano-room/components/course/index.tsx

@@ -57,8 +57,7 @@ export default defineComponent({
         api: 'joinChatGroup',
         content: {
           type: 'multi', // single 单人 multi 多人
-          id: item.imGroupId,
-          role: 'TEACHER'
+          id: item.imGroupId
         }
       })
     },