diff --git a/src/index.js b/src/index.js index 47f4070cf99fa6573d003dcb0ae9216ec6cb9c1e..7f169d14bd2a5617c44289b850c97651dad97bf6 100644 --- a/src/index.js +++ b/src/index.js @@ -69,7 +69,7 @@ class UniID { if (!Array.isArray(originConfig)) { return originConfig } - return originConfig.find(item => item.dcloudAppid === this.clientInfo.appId) || originConfig.find(item => item.isDefaultConfig) + return originConfig.find(item => item.dcloudAppid === this._clientInfo.appId) || originConfig.find(item => item.isDefaultConfig) } _getPlatformConfig () {