diff --git a/packages/demo/package.json b/packages/demo/package.json index 3f924b133..eee3d8461 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -21,7 +21,7 @@ "@ali/lowcode-plugin-variable-bind-dialog": "^0.8.0", "@ali/lowcode-plugin-zh-en": "^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", "@alifd/next": "^1.19.21", "@alife/theme-lowcode-dark": "^0.1.0", diff --git a/packages/demo/src/config/components.js b/packages/demo/src/config/components.js deleted file mode 100644 index 731c2f6a5..000000000 --- a/packages/demo/src/config/components.js +++ /dev/null @@ -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) -}; diff --git a/packages/demo/src/editor/config/skeleton.js b/packages/demo/src/editor/config/skeleton.js index 3cd7b93c1..785788481 100644 --- a/packages/demo/src/editor/config/skeleton.js +++ b/packages/demo/src/editor/config/skeleton.js @@ -83,7 +83,7 @@ export default { type: 'PanelIcon', props: { align: 'top', - icon: 'dengpao', + icon: 'shuxingkongjian', title: '大纲树' }, config: { diff --git a/packages/demo/src/editor/index.tsx b/packages/demo/src/editor/index.tsx index b229bec9b..f666fe2c5 100644 --- a/packages/demo/src/editor/index.tsx +++ b/packages/demo/src/editor/index.tsx @@ -13,7 +13,6 @@ registerSetters(); const LCE_CONTAINER = document.getElementById('lce-container'); -console.info('aeafeawef') if (!LCE_CONTAINER) { throw new Error('当前页面不存在
节点.'); }