From f375e88fd6eb3002d1abc7413922a21e7da954fc Mon Sep 17 00:00:00 2001 From: Treecat Date: Thu, 11 May 2023 19:14:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0jira=20fix:=E5=88=A0=E9=99=A4=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E7=94=A8=E5=88=B0=E7=9A=84=E4=B8=9C=E8=A5=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/demo/src/demo/slides.js | 0 packages/fineui/src/bundle.js | 3 +-- packages/fineui/src/index.js | 4 ++++ 3 files changed, 5 insertions(+), 2 deletions(-) delete mode 100644 packages/demo/src/demo/slides.js diff --git a/packages/demo/src/demo/slides.js b/packages/demo/src/demo/slides.js deleted file mode 100644 index e69de29bb..000000000 diff --git a/packages/fineui/src/bundle.js b/packages/fineui/src/bundle.js index e3215520a..92ba6cfcf 100644 --- a/packages/fineui/src/bundle.js +++ b/packages/fineui/src/bundle.js @@ -1,10 +1,9 @@ import * as fuiExport from "./index"; import * as injectFn from "@/core/5.inject"; import { _global } from "@/core/0.foundation"; -import * as Decorators from "@/core/decorator"; _global.BI = _global.BI || {}; -_global.BI.Decorators = { ...Decorators, Model: fuiExport.Fix.Model }; + Object.assign(_global, { Fix: fuiExport.Fix, diff --git a/packages/fineui/src/index.js b/packages/fineui/src/index.js index 76dbf84ff..e84b98d9e 100644 --- a/packages/fineui/src/index.js +++ b/packages/fineui/src/index.js @@ -13,3 +13,7 @@ export * from "./router"; export * as Popper from "@popperjs/core"; export const jQuery = jquery; export const $ = jquery; + +import * as D from "@/core/decorator"; +import { Fix } from "./fix"; +export const Decorators = { ...D, Model: Fix.Model };