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>
868
868
var itemArr = Array . prototype . slice . call ( item . children ) ;
869
869
properties [ itemArr [ 0 ] . textContent ] = itemArr [ 1 ] . value ;
870
870
} ) ;
871
- console . log ( 'properties' , properties ) ;
872
871
currentFeature . data . properties = properties ;
873
- currentAddFeature . setProperties ( properties ) ;
872
+ currentAddFeature && currentAddFeature . setProperties ( properties ) ;
874
873
var olFeature = new ol . format . GeoJSON ( ) . readFeature ( currentFeature . data ) ;
875
874
if ( ! olFeature . getId ( ) ) {
876
875
datasetInfoList [ currentDataset ] . uniqueId ++ ;
@@ -884,7 +883,6 @@ <h5><span data-i18n="resources.text_featureToDelete"></span>:</h5>
884
883
if ( ! properties [ 'SMUSERID' ] ) {
885
884
olFeature . set ( 'SMUSERID' , olFeature . getId ( ) ) ;
886
885
}
887
- console . log ( 'olFeature' , olFeature ) ;
888
886
currentFeature . origin = olFeature ;
889
887
commit ( isUpdate ) ;
890
888
switchPanel ( 'edit' , true ) ;
You can’t perform that action at this time.
0 commit comments