src/views/resource/components/DrawPolygon.vue
@@ -23,7 +23,15 @@ const viewInstance = inject('viewInstance'); const homeViewer = inject('homeViewer'); watch( () => selectionIds.value, (newValue, oldValue) => { if (newValue && oldValue && newValue !== oldValue) { console.log('selectionIds',newValue); cancel(); } } ); function preventDefault(event) { event.preventDefault(); @@ -223,6 +231,7 @@ clearSelect(); } getTableList() cancel() // 接口 // sdfwUpdate({ // ids: selectionIds.value, @@ -249,7 +258,7 @@ remove(); removeMenuPanel(); clearPlanar(); removeSaveMenuPanel(); init(); }