From 5ec1554f347f91bcd1fbc8e7550fde8edec5a3d3 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@iotlink.com>
Date: 星期五, 21 五月 2021 15:00:02 +0800
Subject: [PATCH] 修复运行时提示的错误

---
 src/pages/cameraAccess/components/CameraInfo.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/pages/cameraAccess/components/CameraInfo.vue b/src/pages/cameraAccess/components/CameraInfo.vue
index 66c4a0d..bba682a 100644
--- a/src/pages/cameraAccess/components/CameraInfo.vue
+++ b/src/pages/cameraAccess/components/CameraInfo.vue
@@ -268,7 +268,7 @@
     getSounds() {
       getSoundList().then(res => {
         if (res.success) {
-          this.soundList = res.data.list
+          this.soundList = res.data;
         }
       }).catch(
         e => console.log(e)
@@ -336,8 +336,9 @@
               this.resolutionList = list
               this.sensors = res.data.sensors
             }
+
             this.$nextTick(() => {
-              this.initFormData()
+              this.initFormData();
               Object.assign(this.form, res.data)
 
               this.soundList.forEach(element => {

--
Gitblit v1.8.0