diff --git a/src/index.js b/src/index.js index 0ce0cf7e7093317a4cdbd83ae5019b36f4c81d04..df1e7527b732a896d6695cf18e342b581449d4e2 100644 --- a/src/index.js +++ b/src/index.js @@ -87,7 +87,7 @@ class UniID { } else if (!hasConfig) { throw new Error('公用模块uni-id缺少配置信息' + configTips) } - const currentAppConfig = this._getConfigContent(this.config) + const currentAppConfig = this._getCurrentAppConfig(this.config) const platformConfig = Object.assign(currentAppConfig, currentAppConfig[platform || this.context.PLATFORM]) || {} const defaultConfig = { bindTokenToDevice: false,