maxiaoxiao 9 сар өмнө
parent
commit
33adc2742b

+ 2 - 1
src/components/Query/clickQuery/pick_cockpit_vector.js

@@ -31,7 +31,8 @@ export const init_handler = () => {
         if (Cesium.defined(pickObj)) {
             let obj = {}
             let arr = [];
-            if (pickObj.primitive instanceof Cesium.Primitive && pickObj.id.properties && pickObj.id.properties.type._value == '图斑上图') {//点击primitive
+            // pickObj.primitive instanceof Cesium.Primitive &&
+            if (pickObj.id.properties && pickObj.id.properties.type._value == '图斑上图') {//点击primitive
                 // primitive相关操作
                 let propertyNames = pickObj.id.properties.propertyNames
                 propertyNames.forEach((res) => {