Browse Source

Pull request #283106: BI-151036 fix: 控制台提示 error改成warn

Merge in DEC/fineui from ~OLIVER.KE/fineui-decision:release/11.0 to release/11.0

* commit '8e32510ae7836e42e93b0bdd4596cc3592b4e96d':
  BI-151036 fix: error改成warn
master
Oliver.Ke-柯键基 5 months ago
parent
commit
b97ea33003
  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) { export function constant(xtype, cls) {
if (isNotNull(constantInjection[xtype])) { if (isNotNull(constantInjection[xtype])) {
_global.console && console.error(`constant: [${xtype}]already registered`); _global.console && console.warn(`constant: [${xtype}]already registered`);
} else { } else {
constantInjection[xtype] = cls; constantInjection[xtype] = cls;
} }

Loading…
Cancel
Save