sd
2025-07-28 e7d40e5061afb87166c0929050ea721cc2956b76
src/pages/cameraVideo/components/VideoPhoto.vue
@@ -2,7 +2,7 @@
  <div style="height: 100%;" class="swiper-box">
    <div class="swiper-box-top">
      <h2 style="float:left; font-size:15px">实时抓拍</h2>
      <audio ref="alarmAudio" src="/libs/14184.wav" style="display:none"></audio>
      <!-- <audio ref="alarmAudio" src="/libs/14184.wav" style="display:none"></audio> 预警声音 -->
      <span
        style="float:left;font-family:PingFangSC-Regular;font-size:13px;color:#999999;"
      >&nbsp;&nbsp; (共{{VideoCaptrue.cards.length}}张)</span>
@@ -96,13 +96,13 @@
  },
  methods: {
    showCapture(nodes) {
      // if (nodes.length < 1) {
      //   this.taskUid = 0;
      //   this.VideoCaptrue.cards = [];
      //   return;
      // }
      // this.VideoCaptrue.cameras = nodes;
      // this.VideoCaptrue.initCards();
      if (nodes.length < 1) {
        this.taskUid = 0;
        this.VideoCaptrue.cards = [];
        return;
      }
      this.VideoCaptrue.cameras = nodes;
      this.VideoCaptrue.initCards();
    },
    toAdd(item) {
      this.$emit("addToBase", item);