windsome.feng 6 years ago
parent
commit
22e09985fd
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/App.js

+ 1 - 3
src/App.js

@@ -572,9 +572,7 @@ class CircleTest extends Component {
               fillOpacity: 0.35,//填充透明度
               }}
             events={{
-              click:e=> {
-                this.setState({msg: '点击了Circle:'+JSON.stringify(e.data)})
-              }
+              click:this._mapClick
             }}
           />
         </Map>