Selaa lähdekoodia

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

服务器 8 kuukautta sitten
vanhempi
commit
1555833a16
1 muutettua tiedostoa jossa 9 lisäystä ja 9 poistoa
  1. 9 9
      src/components/Query/clickQuery/clickQuery.vue

+ 9 - 9
src/components/Query/clickQuery/clickQuery.vue

@@ -150,12 +150,12 @@ export default {
           iconName: "el-icon-office-building",
           isSelect: false,
         },
-        {
-          index: 4,
-          lable: "矢量",
-          iconName: "el-icon-picture",
-          isSelect: false,
-        },
+        // {
+        //   index: 4,
+        //   lable: "矢量",
+        //   iconName: "el-icon-picture",
+        //   isSelect: false,
+        // },
         {
           index: 5,
           lable: "联级查询",
@@ -329,8 +329,8 @@ export default {
               clampToGround: true,
             }),
           });
+          viewer.flyTo(e);
         }
-        viewer.flyTo(e);
       } else {
         this.$message({
           message: "空间范围为空!",
@@ -360,8 +360,8 @@ export default {
       that.layersData = [];
       this.remove_query_click();
       let scene = viewer.scene;
-      that.viewer.entities.removeAll();
-      that.dataSourceLayer.entities.removeAll();
+      viewer.entities.removeAll();
+      dataSourceLayer.entities.removeAll();
       //拾取模型
       let pickedFeature = scene.pick(movement.position);
       if (