Browse Source

REPORT-121158 fix:控制台报错

master
Kevin.King-王凯壮 6 months ago committed by chenzeyu
parent
commit
9ab289d8c3
  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