Browse Source

Pull request #279091: REPORT-121158 fix:控制台报错

Merge in DEC/fineui from ~KEVIN.KING/fineui:release/11.0 to release/11.0

* commit 'c22c5d43dd3528b94812cdc212e8aa002e3ceda4':
  REPORT-121158 fix:控制台报错
master
Kevin.King-王凯壮 7 months ago
parent
commit
fbe18a5138
  1. 2
      packages/fineui/src/core/5.inject.js

2
packages/fineui/src/core/5.inject.js

@ -427,7 +427,7 @@ const providers = {},
export const Providers = {
getProvider: (type, config) => {
if (!providerInjection[type]) {
_global.console && console.error(`provider: [${type}] undefined`);
_global.console && console.warn(`provider: [${type}] undefined`);
}
runConfigFunction(type);
if (!providers[type]) {

Loading…
Cancel
Save