Explorar el Código

驾驶舱行政区

maxiaoxiao hace 1 año
padre
commit
7e92669c79
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/common/js/cockpit.js

+ 2 - 0
src/common/js/cockpit.js

@@ -39,6 +39,8 @@ const hidden_wall = (flag) => {
                 res.show = flag;
             }
         })
+        let wall = viewer.dataSources._dataSources.find(d => d._name == 'manager_entity')
+        if (!wall) viewer.dataSources.add(manager_entity);
     }
 }
 const pick_xzqh = (pri_name) => {