mirror of https://gitee.com/antv-l7/antv-l7
fix: source 数据更新
This commit is contained in:
parent
97c269e5ac
commit
0c1d46cba6
|
@ -78,7 +78,7 @@ export default class Source extends EventEmitter {
|
|||
public setData(data: any, options?: ISourceCFG) {
|
||||
this.rawData = data;
|
||||
this.originData = data;
|
||||
this.initCfg(this.cfg);
|
||||
this.initCfg(options);
|
||||
this.init();
|
||||
this.emit('update');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue