zkl 4 lat temu
rodzic
commit
d9153c9367
1 zmienionych plików z 17 dodań i 4 usunięć
  1. 17 4
      minggao/src/page/forecasting/cbd/cbdDataPhotos.vue

+ 17 - 4
minggao/src/page/forecasting/cbd/cbdDataPhotos.vue

@@ -597,9 +597,9 @@
     <!-- 查看大图 -->
 
     <!-- 测试 -->
-    <ul
+    <!-- <ul
       class="newImgOperation"
-      style="display: flex"
+      style="display: flex;"
       id="iconBox"
       v-show="iconShow"
     >
@@ -629,7 +629,7 @@
         />
         <span>网格显示</span>
       </li>
-    </ul>
+    </ul> -->
     <!-- 测试 -->
 
     <div id="reseau"></div>
@@ -1470,6 +1470,15 @@ export default {
       // if (val == false) {
       //   this.addFunData = {}
       // }
+
+      if (val == false) {
+        this.imgShow = true
+
+        // this.$nextTick(() => {
+        //   // this.$refs['aiPanel-editor'].getMarker().clearData();
+        //   // this.imgDiscern = ""
+        // });
+      }
     }
   },
 
@@ -3199,7 +3208,11 @@ export default {
           this.renderData(JSON.parse(data.mark));
         });
       } else {
-        this.imgShow = true;
+
+        this.$nextTick(() => {
+           this.imgShow = true;
+        });
+        // this.imgShow = true;
         // this.imgDiscern = data.indentify_photo || data.addr;
         // this.imgDiscern = data.addr;
       }