fix: source 数据更新

This commit is contained in:
thinkinggis 2021-01-15 22:12:11 +08:00
parent 97c269e5ac
commit 0c1d46cba6
1 changed files with 1 additions and 1 deletions

View File

@ -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');
}