dusenyao vor 3 Jahren
Ursprung
Commit
2ad668f57a

+ 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';
 
 /**