ZZJ
2022-07-27 88078aa63c669cffc2d91e1269d460436427d09d
src/views/hashrate/CameraManage/CameraInfo/index.vue
@@ -204,6 +204,7 @@
            :rtspUrl="videoItem.rtsp"
            :isRunning="false"
            :showArea="false"
            :videoUrl="ip"
            v-if="
              videoItem !== '' &&
              videoItem !== undefined &&
@@ -261,6 +262,7 @@
      togglePlay: true,
      eventAudio: new Audio(),
      soundPath: "",
      ip: "",
      form: {},
      // 记录添加状态
      isAdd: false,
@@ -375,6 +377,8 @@
      if (node.type === "4") {
        getCameraInfo(node.id).then((res) => {
          if (res.success) {
            this.ip = "ws://" + res.data.ip + ":7009/ws";
            if (res.data.resolutions) {
              let list = res.data.resolutions.map((i) => {
                let obj = {};