Browse Source

Merge branch 'master' of http://114.244.114.158:8802/siwei/real3d-portalsite

maxiaoxiao 1 year ago
parent
commit
c6da3f460f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/Query/clickQuery/CockpitVector.vue

+ 2 - 2
src/components/Query/clickQuery/CockpitVector.vue

@@ -36,7 +36,7 @@
         >
         >
         </el-table-column>
         </el-table-column>
       </el-table>
       </el-table>
-      <div id="seaTransferCharts" ref="echartsRef"></div>
+      <div id="seaTransferCharts" ref="echartsRef" v-if="store.state.vectordataid !=0"></div>
     </div>
     </div>
   </div>
   </div>
 </template>
 </template>
@@ -58,7 +58,6 @@ export default {
       timeout: null,
       timeout: null,
       pick_entity: null,
       pick_entity: null,
       dataid: 0,
       dataid: 0,
-      tempData: [],
     };
     };
   },
   },
   //监听属性 类似于data概念
   //监听属性 类似于data概念
@@ -84,6 +83,7 @@ export default {
     viewer_flag(newVal) {
     viewer_flag(newVal) {
       if (newVal) {
       if (newVal) {
         viewer.dataSources.removeAll();
         viewer.dataSources.removeAll();
+        store.state.vectordataid = 0
       }
       }
     },
     },
   },
   },