Commit 16b78f01 authored by xinglei's avatar xinglei

修改页面报错问题

parent cc78b54e
...@@ -186,7 +186,6 @@ class BasicMap extends Component { ...@@ -186,7 +186,6 @@ class BasicMap extends Component {
key={item.id} key={item.id}
zIndex={11} zIndex={11}
path={item.path} path={item.path}
events={this.lineEvents}
style={lineStyle} style={lineStyle}
extData={item} extData={item}
/>); />);
...@@ -226,7 +225,7 @@ class BasicMap extends Component { ...@@ -226,7 +225,7 @@ class BasicMap extends Component {
} }
setInstanceToGlobal = inst => { setInstanceToGlobal = inst => {
console.log(inst); //console.log(inst);
this.map = inst; this.map = inst;
window.map = inst; window.map = inst;
//this.initMap(); //this.initMap();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment