Browse Source

KERNEL-14316 fix: 全局打包下的一些补充

es6
Treecat 2 years ago
parent
commit
3d7056fb23
  1. 7
      packages/fineui/src/bundle.js

7
packages/fineui/src/bundle.js

@ -1,15 +1,16 @@
import * as fuiExport from "./index";
import { shortcut, provider } from "@/core/5.inject";
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;
_global.BI.Decorators = { ...Decorators, Model: fuiExport.Fix.Model };
Object.assign(_global, {
Fix: fuiExport.Fix,
_: fuiExport._,
$: fuiExport.$,
jQuery: fuiExport.$,
});
Object.assign(_global.BI, fuiExport, { shortcut, provider });
Object.assign(_global.BI, fuiExport, injectFn);

Loading…
Cancel
Save