huweili-cesium 1.2.21 → 1.2.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/js/labelDiv.js +5 -0
  2. package/package.json +1 -1
package/js/labelDiv.js CHANGED
@@ -323,6 +323,11 @@ export function labelDiv() {
323
323
  return; // 如果已存在,直接返回,不创建新的
324
324
  }
325
325
 
326
+ // 机巢无人机不允许打开详情面板和拖拽
327
+ if (status === DroneStatus.MACHINE_NEST) {
328
+ return;
329
+ }
330
+
326
331
  new_detailDivLeft = null;
327
332
  new_detailDivTop = null;
328
333
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "huweili-cesium",
3
- "version": "1.2.21",
3
+ "version": "1.2.22",
4
4
  "description": "基于 Cesium 的地图工具库(无人机态势、轨迹、围栏、工具栏等)",
5
5
  "type": "module",
6
6
  "main": "./index.js",