Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

Commit

Permalink
fix(core): 实例方法 getConfigs 命名错误
Browse files Browse the repository at this point in the history
  • Loading branch information
liuwei committed Aug 21, 2019
1 parent c9d1041 commit e1458a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/libs/plugins/auto-visible.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default class AutoVisible extends PluginBase {

apply(instance) {
let map = instance.getMap()
const configs = instance.getConfigs()
const configs = instance.getConfig()
if (!configs || !configs.AutoVisible || !configs.AutoVisible.zooms) {
return
}
Expand Down
2 changes: 1 addition & 1 deletion src/libs/plugins/forbid-animation.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default class ForbidAnimation extends PluginBase {
return PluginType.UPDATE
}
apply(instance) {
const configs = instance.getConfigs()
const configs = instance.getConfig()
if (configs && configs.ForbidAnimation === false) {
return
}
Expand Down

0 comments on commit e1458a3

Please sign in to comment.