mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-07 02:47:12 +00:00
feat(vision-polyfill): add context as portal
This commit is contained in:
parent
f724487303
commit
bd127309ff
@ -9,7 +9,7 @@ import Symbols from './symbols';
|
|||||||
import Skeleton from '@ali/lowcode-editor-skeleton';
|
import Skeleton from '@ali/lowcode-editor-skeleton';
|
||||||
import editor from './editor';
|
import editor from './editor';
|
||||||
import Exchange from './exchange';
|
import Exchange from './exchange';
|
||||||
|
import VisualEngineContext from './context';
|
||||||
import VisualManager from './base/visualManager';
|
import VisualManager from './base/visualManager';
|
||||||
|
|
||||||
function init(container?: Element) {
|
function init(container?: Element) {
|
||||||
@ -37,6 +37,8 @@ const modules = {
|
|||||||
VisualManager,
|
VisualManager,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const context = new VisualEngineContext();
|
||||||
|
|
||||||
export {
|
export {
|
||||||
/**
|
/**
|
||||||
* VE.Popup
|
* VE.Popup
|
||||||
@ -55,6 +57,7 @@ export {
|
|||||||
/* Symbol 管理类 */
|
/* Symbol 管理类 */
|
||||||
Symbols,
|
Symbols,
|
||||||
Exchange,
|
Exchange,
|
||||||
|
context,
|
||||||
/**
|
/**
|
||||||
* VE.init
|
* VE.init
|
||||||
*
|
*
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user