From 3e3cc5c03b2889d3e872f069964642c47aee3aaf Mon Sep 17 00:00:00 2001 From: Treecat Date: Wed, 10 May 2023 16:55:49 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-14316=20fix:=20initialized=20=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fineui/src/core/2.base.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/fineui/src/core/2.base.js b/packages/fineui/src/core/2.base.js index 144114efd..0c8e5f61c 100644 --- a/packages/fineui/src/core/2.base.js +++ b/packages/fineui/src/core/2.base.js @@ -684,7 +684,10 @@ export function init() { while (_global.___fineuiExposedFunction && _global.___fineuiExposedFunction.length > 0) { _global.___fineuiExposedFunction.shift()(); } - BI.initialized = true; + + if (_global.BI) { + _global.BI.initialized = true; + } } export function has(obj, keys) {