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(); }