From b4772b5ee3a2e6ffd9fd5d960506072c35225431 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@iotlink.com>
Date: 星期四, 03 九月 2020 19:05:36 +0800
Subject: [PATCH] 默认关闭摄像机声音

---
 vue.config.js                                    |    8 +++-----
 src/pages/cameraAccess/components/CameraInfo.vue |   12 ++++++------
 2 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/src/pages/cameraAccess/components/CameraInfo.vue b/src/pages/cameraAccess/components/CameraInfo.vue
index da5c685..83ef28a 100644
--- a/src/pages/cameraAccess/components/CameraInfo.vue
+++ b/src/pages/cameraAccess/components/CameraInfo.vue
@@ -37,7 +37,7 @@
         </el-col>
         <el-col :span="9" :offset="1">
           <el-form-item label="璁惧鍦板潃" style="width:100%" prop="addr">
-            <el-input v-model="form.addr" placeholder="璇疯緭鍏ュ湴鍧�鎻忚堪" :disabled="!form.rtsp" size="small"></el-input>
+            <el-input v-model="form.addr" placeholder="璇疯緭鍏ュ湴鍧�鎻忚堪" :disabled="isDisabled" size="small"></el-input>
           </el-form-item>
         </el-col>
       </el-row>
@@ -59,7 +59,7 @@
             </el-select>
           </el-form-item>
         </el-col>
-        <el-col :span="9" :offset="1" >
+        <el-col :span="9" :offset="1">
           <el-form-item label="浜嬩欢澹伴煶">
             <div class="flex-wrap" style="margin-left:-10px">
               <el-switch v-model="form.voiceEnable" active-color="#409eff" :width="50"></el-switch>
@@ -225,7 +225,7 @@
         cameraType: 0,
         resolution: "",
         voiceId: "",
-        voiceEnable: true
+        voiceEnable: false
       },
       // 璁板綍娣诲姞鐘舵��
       isAdd: false,
@@ -500,7 +500,7 @@
         password: "",
         resolution: "",
         voiceId: "",
-        voiceEnable: true
+        voiceEnable: false
       };
     },
     // 娣诲姞璁惧
@@ -606,9 +606,9 @@
 <style lang="scss">
 .camera-info {
   width: 100%;
-  
+
   margin: 20px 0 20px 20px;
-  
+
   .ai-select {
     text-align: left;
   }
diff --git a/vue.config.js b/vue.config.js
index 5bb12ea..4c3e3e6 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -7,7 +7,7 @@
   pages[chunk] = {
     entry: path,
     template: 'public/index.html',
-    title: chunk=='desktop/index'?'SmartAI':chunk,
+    title: chunk == 'desktop/index' ? 'SmartAI' : chunk,
     chunks: ['chunk-vendors', 'chunk-common', chunk]
   }
   if (chunk != 'index') {
@@ -47,13 +47,11 @@
         target: 'http://192.168.20.10:7003',
         // ws: true,
         changeOrigin: true,
-      }, 
+      },
       "/api-v": {
-        //target: 'http://192.168.20.145:8000',
-        //target: 'http://192.168.5.22:30102',
         target: 'http://192.168.20.10:8000',
         changeOrigin: true
-      },     
+      },
       "/api-f": {
         //target: "http://bsic.asuscomm.com:7003", // 澶栫綉鏄犲皠鍦板潃
         // target: "http://222.128.87.51:8000", // 鐩爣浠g悊鎺ュ彛鍦板潃

--
Gitblit v1.8.0