dusenyao 3 년 전
부모
커밋
2ad668f57a
4개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 0
      src/views/live/student/index.vue
  2. 2 1
      src/views/live/student/live.js
  3. 1 0
      src/views/live/teacher/index.vue
  4. 2 1
      src/views/live/teacher/live.js

+ 1 - 0
src/views/live/student/index.vue

@@ -320,6 +320,7 @@ export default {
         success: str => {
           this.callLoading = false;
           console.log('下麦成功', str);
+          common.updateMcResult('', 0);
           this.$message.success('下麦成功');
         },
         fail: data => {

+ 2 - 1
src/views/live/student/live.js

@@ -9,7 +9,8 @@ export {
   downloadWebSDK,
   createScript,
   handsDown,
-  chatRoll
+  chatRoll,
+  updateMcResult
 } from '@/views/live/common';
 
 // 分组讨论

+ 1 - 0
src/views/live/teacher/index.vue

@@ -471,6 +471,7 @@ export default {
 
           this.callLoading = false;
           this.connectStudent = '';
+          common.updateMcResult('', 0);
           this.$message.success('下麦成功');
         },
         fail: data => {

+ 2 - 1
src/views/live/teacher/live.js

@@ -13,7 +13,8 @@ export {
   handsDown,
   sendPublishMessage,
   closeVideo,
-  chatRoll
+  chatRoll,
+  updateMcResult
 } from '@/views/live/common';
 
 /**