From 878ce80ef3ca88a2c108fbc713cd6ea461c44de1 Mon Sep 17 00:00:00 2001 From: ZZJ <zzjdsg2300@163.com> Date: 星期三, 13 十月 2021 13:51:03 +0800 Subject: [PATCH] 拓扑图 --- src/pages/cameraAccess/components/SceneRule.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pages/cameraAccess/components/SceneRule.vue b/src/pages/cameraAccess/components/SceneRule.vue index d6e5bf8..3126c17 100644 --- a/src/pages/cameraAccess/components/SceneRule.vue +++ b/src/pages/cameraAccess/components/SceneRule.vue @@ -156,7 +156,6 @@ <script> import { saveCameraScene, - getCameraSceneRule, deleteCameraScene } from '@/api/scene' import RuleEditor from "@/components/subComponents/RuleEditor"; @@ -251,9 +250,11 @@ } }, getSounds() { + let _this = this; getSoundList().then(res => { if (res.success) { - this.soundList = [{ id: "", name: "绌�", path: "" }].concat(res.data.list) + //_this.soundList = [{ id: "", name: "绌�", path: "" }].concat(res.data.list) + _this.soundList = [{ id: "", name: "绌�", path: "" }].concat(res.data) } }).catch( e => console.log(e) @@ -275,6 +276,7 @@ }) return false; } + debugger this.eventAudio.src = this.soundPath; if (this.togglePlay) { this.eventAudio.play(); -- Gitblit v1.8.0