diff --git a/examples/dev.html b/examples/dev.html index 2f9a55f7b..beaaff545 100644 --- a/examples/dev.html +++ b/examples/dev.html @@ -28,7 +28,7 @@ BI.config("bi.provider.system", function (provider) { provider.addDependencies({ "my.module": { - minVersion: "1.0", + minVersion: "2.0", maxVersion: "4.0" } }) diff --git a/src/core/6.inject.js b/src/core/6.inject.js index e4b40be5c..174a62422 100644 --- a/src/core/6.inject.js +++ b/src/core/6.inject.js @@ -126,7 +126,7 @@ } } if (findVersion === true) { - _global.console && console.error("moduleId: [" + module.moduleId + "] 接口: [" + type + "] 接口版本: [" + version + "] 已过期,版本要求为:", dependencies[module.moduleId], modelInjection[module.moduleId]); + _global.console && console.error("moduleId: [" + module.moduleId + "] 接口: [" + type + "] 接口版本: [" + version + "] 已过期,版本要求为:", dependencies[module.moduleId], "=>", moduleInjection[module.moduleId]); continue; } }