Browse Source

Merge pull request #279098 in DEC/fineui from release/11.0 to feature/x

* commit 'fbe18a51389d660aebcb054d26cb426d0fc2b2ac':
  REPORT-121158 fix:控制台报错
master^2^2
superman 6 months ago
parent
commit
535f7128fe
  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