zhangzengfei
2022-07-20 4a800a8fc83c6bd1f86a8e847b079a51a7532c09
src/pages/cameraAccess/components/SceneRule.vue
@@ -316,6 +316,7 @@
      // this.eventAudio.
    },
    togglePlayer() {
      console.log(this.soundPath);
      if (!this.soundPath) {
        this.$notify({
          type: "info",
@@ -324,7 +325,7 @@
        return false;
      }
      debugger;
      this.eventAudio.src = this.soundPath;
      this.eventAudio.src = "/httpImage/" + this.soundPath;
      if (this.togglePlay) {
        this.eventAudio.play();
        this.togglePlay = false;