ZZJ
2022-07-15 a3f357e8a60443b74b64c7479113c68eb35ce1f5
src/pages/cameraAccess/components/SeparateRules.vue
@@ -16,7 +16,7 @@
          </div>
          <div
            v-if="Camera.analytics"
            v-if="Camera.analytics && isShowPolling === 'show'"
            class="flex-box"
            v-show="cameraType === 'camera'"
          >
@@ -300,6 +300,7 @@
  },
  data() {
    return {
      isShowPolling: sessionStorage.getItem("isShowPolling"),
      mockSceneData: [],
      loading: false,
      Camera: new VideoRuleData(),
@@ -448,6 +449,13 @@
      this.swiperIndex = this.$refs.swiper.swiper.activeIndex;
    },
    drawBaseImg() {
      if (!this.Camera.cameraId) {
        this.$notify({
          type: "warning",
          message: "请先选择摄像机",
        });
        return;
      }
      if (Array.isArray(this.$refs.canvas)) {
        if (this.$refs.canvas.length > 0) {
          this.$refs.canvas[0].showModal();