From 936e962392b24640f23f2d7534c85d67e426602b Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 29 Mar 2021 10:26:50 +0800
Subject: [PATCH] 去除打印信息

---
 src/views/realTimePolice/real.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/views/realTimePolice/real.vue b/src/views/realTimePolice/real.vue
index 416d96c..7bd4746 100644
--- a/src/views/realTimePolice/real.vue
+++ b/src/views/realTimePolice/real.vue
@@ -2,7 +2,7 @@
  * @Author: Morpheus
  * @Date: 2021-03-17 15:21:33
  * @Last Modified by: Morpheus
- * @Last Modified time: 2021-03-26 14:56:01
+ * @Last Modified time: 2021-03-29 10:19:55
  */
 <template>
   <basic-container>
@@ -1252,6 +1252,7 @@
     },
 
     aKeyToCall() {
+      this.isActive = true;
       var that = this;
       if (this.recorder == null) {
         this.recorder = new Recorder({
@@ -1261,7 +1262,6 @@
           // compiling: false,(0.x版本中生效,1.x增加中)  // 是否边录边转换,默认是false
         });
       }
-      this.isActive = true;
 
       // 一键呼叫相关函数
       that.recorder.start().then(
@@ -1277,6 +1277,7 @@
 
     // 序列号后期待修改
     aKeyStopCall() {
+      this.isActive = false;
       var newCallAxios = axios.create({
         baseURL: "https://web.byisf.com:18000",
         withCredentials: false,
@@ -1285,7 +1286,6 @@
         },
       });
       var that = this;
-      that.isActive = false;
 
       newCallAxios
         .post(
@@ -1445,7 +1445,7 @@
 }
 
 .el-button.active {
-  background: #ff0000;
+  background: #ff0000 !important;
 }
 
 .el-button.btn-color {

--
Gitblit v1.9.3