mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-19 14:04:28 +00:00
chore: update demo
This commit is contained in:
parent
822d676605
commit
acdd251423
@ -21,7 +21,7 @@
|
|||||||
"@ali/lowcode-plugin-variable-bind-dialog": "^0.8.0",
|
"@ali/lowcode-plugin-variable-bind-dialog": "^0.8.0",
|
||||||
"@ali/lowcode-plugin-zh-en": "^0.8.4",
|
"@ali/lowcode-plugin-zh-en": "^0.8.4",
|
||||||
"@ali/lowcode-react-renderer": "^0.8.4",
|
"@ali/lowcode-react-renderer": "^0.8.4",
|
||||||
"@ali/lowcode-runtime": "^0.0.3",
|
"@ali/lowcode-runtime": "^0.8.0",
|
||||||
"@ali/lowcode-setters": "^0.8.4",
|
"@ali/lowcode-setters": "^0.8.4",
|
||||||
"@alifd/next": "^1.19.21",
|
"@alifd/next": "^1.19.21",
|
||||||
"@alife/theme-lowcode-dark": "^0.1.0",
|
"@alife/theme-lowcode-dark": "^0.1.0",
|
||||||
|
|||||||
@ -1,23 +0,0 @@
|
|||||||
import undoRedo from '@ali/lowcode-plugin-undo-redo';
|
|
||||||
import zhEn from '@ali/lowcode-plugin-zh-en';
|
|
||||||
import logo from '@ali/lowcode-plugin-sample-logo';
|
|
||||||
import SamplePreview from '@ali/lowcode-plugin-sample-preview';
|
|
||||||
import Designer from '@ali/lowcode-plugin-designer';
|
|
||||||
import SettingsPane from '@ali/lowcode-plugin-settings-pane';
|
|
||||||
import componentsPane from '@ali/lowcode-plugin-components-pane';
|
|
||||||
import OutlinePane from '@ali/lowcode-plugin-outline-pane';
|
|
||||||
import EventBindDialog from '@ali/lowcode-plugin-event-bind-dialog';
|
|
||||||
import VariableBindDialog from '@ali/lowcode-plugin-variable-bind-dialog';
|
|
||||||
import { PluginFactory } from '@ali/lowcode-editor-core';
|
|
||||||
export default {
|
|
||||||
undoRedo: PluginFactory(undoRedo),
|
|
||||||
zhEn: PluginFactory(zhEn),
|
|
||||||
designer: PluginFactory(Designer),
|
|
||||||
componentsPane: PluginFactory(componentsPane),
|
|
||||||
settingsPane: PluginFactory(SettingsPane),
|
|
||||||
outlinePane: PluginFactory(OutlinePane),
|
|
||||||
eventBindDialog:PluginFactory(EventBindDialog),
|
|
||||||
variableBindDialog:PluginFactory(VariableBindDialog),
|
|
||||||
logo: PluginFactory(logo),
|
|
||||||
samplePreview: PluginFactory(SamplePreview)
|
|
||||||
};
|
|
||||||
@ -83,7 +83,7 @@ export default {
|
|||||||
type: 'PanelIcon',
|
type: 'PanelIcon',
|
||||||
props: {
|
props: {
|
||||||
align: 'top',
|
align: 'top',
|
||||||
icon: 'dengpao',
|
icon: 'shuxingkongjian',
|
||||||
title: '大纲树'
|
title: '大纲树'
|
||||||
},
|
},
|
||||||
config: {
|
config: {
|
||||||
|
|||||||
@ -13,7 +13,6 @@ registerSetters();
|
|||||||
|
|
||||||
const LCE_CONTAINER = document.getElementById('lce-container');
|
const LCE_CONTAINER = document.getElementById('lce-container');
|
||||||
|
|
||||||
console.info('aeafeawef')
|
|
||||||
if (!LCE_CONTAINER) {
|
if (!LCE_CONTAINER) {
|
||||||
throw new Error('当前页面不存在 <div id="lce-container"></div> 节点.');
|
throw new Error('当前页面不存在 <div id="lce-container"></div> 节点.');
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user