forked from fanruan/fineui
Browse Source
Merge in VISUAL/fineui from ~TREECAT/fineui:es6 to es6 * commit 'ccc155565883d351d01da07ca18ec4a71eea199b': KERNEL-14316 chore: 代码同步一下 KERNEL-14316 fix: 全局打包下的一些补充es6
treecat-罗群
2 years ago
6 changed files with 18 additions and 14 deletions
@ -1,15 +1,16 @@ |
|||||||
import * as fuiExport from "./index"; |
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 { _global } from "@/core/0.foundation"; |
||||||
import * as Decorators from "@/core/decorator"; |
import * as Decorators from "@/core/decorator"; |
||||||
|
|
||||||
_global.BI = _global.BI || {}; |
_global.BI = _global.BI || {}; |
||||||
_global.BI.Decorators = Decorators; |
_global.BI.Decorators = { ...Decorators, Model: fuiExport.Fix.Model }; |
||||||
|
|
||||||
Object.assign(_global, { |
Object.assign(_global, { |
||||||
Fix: fuiExport.Fix, |
Fix: fuiExport.Fix, |
||||||
_: fuiExport._, |
_: fuiExport._, |
||||||
$: fuiExport.$, |
$: fuiExport.$, |
||||||
|
jQuery: fuiExport.$, |
||||||
}); |
}); |
||||||
|
|
||||||
Object.assign(_global.BI, fuiExport, { shortcut, provider }); |
Object.assign(_global.BI, fuiExport, injectFn); |
||||||
|
Loading…
Reference in new issue