diff --git a/src/core/6.inject.js b/src/core/6.inject.js index 1ef56c1d1..e86c925d8 100644 --- a/src/core/6.inject.js +++ b/src/core/6.inject.js @@ -150,11 +150,12 @@ } }; BI.config = BI.config || function (type, configFn, opt) { - opt = opt || {}; if (BI.isFunction(type)) { + opt = configFn; configFn = type; type = "bi.provider.system"; } + opt = opt || {}; // 系统配置直接执行 if ("bi.provider.system" === type) {