From b621ae6e63e7ee9d46d36ce7ceedaeba24108877 Mon Sep 17 00:00:00 2001 From: minghe Date: Fri, 30 Jul 2021 08:53:00 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=8E=B7=E5=8F=96config?= =?UTF-8?q?=E5=A7=8B=E7=BB=88=E5=8E=BB=E8=AF=BBconfig=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=AF=BC=E8=87=B4createInstance=E4=BC=A0=E5=85=A5=E7=9A=84conf?= =?UTF-8?q?ig=E6=97=A0=E6=B3=95=E8=8E=B7=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 0ce0cf7..df1e752 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, -- Gitee