无人机管理后台前端(已迁走)
张含笑
2025-08-27 ab65906ce525c07d6b614e63e573155d91078708
src/views/resource/components/DrawPolygon.vue
@@ -23,7 +23,14 @@
const viewInstance = inject('viewInstance');
const homeViewer = inject('homeViewer');
watch(
  () => selectionIds.value,
  (newValue, oldValue) => {
    if (newValue && oldValue && newValue !== oldValue) {
      cancel();
    }
  }
);
function preventDefault(event) {
  event.preventDefault();
@@ -223,6 +230,7 @@
    clearSelect();
  }
getTableList()
cancel()
  // 接口
  // sdfwUpdate({
  //    ids: selectionIds.value,
@@ -249,7 +257,7 @@
  remove();
  removeMenuPanel();
  clearPlanar();
removeSaveMenuPanel();
  init();
}