Browse Source

BI-151036 fix: error改成warn

master
Oliver.Ke 7 months ago
parent
commit
8e32510ae7
  1. 2
      packages/fineui/src/core/5.inject.js

2
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;
}

Loading…
Cancel
Save