From 87745691fe3486d4c1d8b60527bb7e81fdf15113 Mon Sep 17 00:00:00 2001 From: dailer Date: Mon, 17 Jul 2023 17:29:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JRIA=20Workers=E6=8C=82=E8=BD=BD?= =?UTF-8?q?=E5=88=B0BI=E4=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fineui/typescript/bundle.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/fineui/typescript/bundle.ts b/packages/fineui/typescript/bundle.ts index fb4e34400..174fa3e6e 100644 --- a/packages/fineui/typescript/bundle.ts +++ b/packages/fineui/typescript/bundle.ts @@ -1,3 +1,5 @@ -// import fineui from "./index"; - -// BI.extend(BI, fineui); +import { Workers } from "./core/worker/workers"; +// 仅Workers是ts实现的代码,所以要挂载到BI上 +BI?.extend(BI, { + Workers: Workers +}); \ No newline at end of file