diff --git a/packages/fineui/src/core/5.inject.js b/packages/fineui/src/core/5.inject.js index 901512a03..6f8182ee2 100644 --- a/packages/fineui/src/core/5.inject.js +++ b/packages/fineui/src/core/5.inject.js @@ -62,7 +62,7 @@ const constantInjection = {}; export function constant(xtype, cls) { if (isNotNull(constantInjection[xtype])) { - _global.console && console.error(`constant: [${xtype}]already registered`); + _global.console && console.warn(`constant: [${xtype}]already registered`); } else { constantInjection[xtype] = cls; }