From 1fbbb592d4646f86e8a272b13c16ca54abc08414 Mon Sep 17 00:00:00 2001 From: heyujie <516346543@qq.com> Date: 星期四, 08 七月 2021 10:30:12 +0800 Subject: [PATCH] 应用中心详情按钮错误 --- src/pages/cameraAccess/components/CameraInfo.vue | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/pages/cameraAccess/components/CameraInfo.vue b/src/pages/cameraAccess/components/CameraInfo.vue index 4f16b77..fba8821 100644 --- a/src/pages/cameraAccess/components/CameraInfo.vue +++ b/src/pages/cameraAccess/components/CameraInfo.vue @@ -174,7 +174,6 @@ </template> <script> import { - checkCameraConnet, createCamera, updateCameraInfo, getCameraInfo, @@ -258,7 +257,6 @@ document.addEventListener("visibilitychange", () => { this.visibilitychange(); }); - debugger this.getSounds(); this.eventAudio.addEventListener("ended", () => { @@ -269,7 +267,7 @@ getSounds() { getSoundList().then(res => { if (res.success) { - this.soundList = res.data.list + this.soundList = res.data; } }).catch( e => console.log(e) @@ -337,8 +335,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