From 8e32510ae7836e42e93b0bdd4596cc3592b4e96d Mon Sep 17 00:00:00 2001 From: "Oliver.Ke" Date: Wed, 26 Jun 2024 18:29:42 +0800 Subject: [PATCH] =?UTF-8?q?BI-151036=20fix:=20error=E6=94=B9=E6=88=90warn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fineui/src/core/5.inject.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }