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^2^2
Kevin.King-王凯壮 6 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 = { export const Providers = {
getProvider: (type, config) => { getProvider: (type, config) => {
if (!providerInjection[type]) { if (!providerInjection[type]) {
_global.console && console.error(`provider: [${type}] undefined`); _global.console && console.warn(`provider: [${type}] undefined`);
} }
runConfigFunction(type); runConfigFunction(type);
if (!providers[type]) { if (!providers[type]) {

Loading…
Cancel
Save