File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -868,9 +868,8 @@ <h5><span data-i18n="resources.text_featureToDelete"></span>:</h5>
868868 var itemArr = Array . prototype . slice . call ( item . children ) ;
869869 properties [ itemArr [ 0 ] . textContent ] = itemArr [ 1 ] . value ;
870870 } ) ;
871- console . log ( 'properties' , properties ) ;
872871 currentFeature . data . properties = properties ;
873- currentAddFeature . setProperties ( properties ) ;
872+ currentAddFeature && currentAddFeature . setProperties ( properties ) ;
874873 var olFeature = new ol . format . GeoJSON ( ) . readFeature ( currentFeature . data ) ;
875874 if ( ! olFeature . getId ( ) ) {
876875 datasetInfoList [ currentDataset ] . uniqueId ++ ;
@@ -884,7 +883,6 @@ <h5><span data-i18n="resources.text_featureToDelete"></span>:</h5>
884883 if ( ! properties [ 'SMUSERID' ] ) {
885884 olFeature . set ( 'SMUSERID' , olFeature . getId ( ) ) ;
886885 }
887- console . log ( 'olFeature' , olFeature ) ;
888886 currentFeature . origin = olFeature ;
889887 commit ( isUpdate ) ;
890888 switchPanel ( 'edit' , true ) ;
You can’t perform that action at this time.
0 commit comments