mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-20 07:14:23 +00:00
修改大纲树的布局为 fixed 实现在大纲树中拖拽物料
This commit is contained in:
parent
9a1501cff2
commit
2ce965c8ac
@ -47,6 +47,19 @@ export default {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
leftArea: [
|
leftArea: [
|
||||||
|
{
|
||||||
|
pluginKey: 'outline',
|
||||||
|
type: 'PanelIcon',
|
||||||
|
props: {
|
||||||
|
align: 'top',
|
||||||
|
icon: 'shuxingkongjian',
|
||||||
|
description: '大纲树',
|
||||||
|
panelProps: {
|
||||||
|
area: 'leftFixedArea',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
pluginProps: {},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
pluginKey: 'componentsPane',
|
pluginKey: 'componentsPane',
|
||||||
type: 'PanelIcon',
|
type: 'PanelIcon',
|
||||||
@ -57,18 +70,6 @@ export default {
|
|||||||
},
|
},
|
||||||
pluginProps: {},
|
pluginProps: {},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
pluginKey: 'outline',
|
|
||||||
type: 'PanelIcon',
|
|
||||||
props: {
|
|
||||||
align: 'top',
|
|
||||||
icon: 'shuxingkongjian',
|
|
||||||
description: '大纲树'
|
|
||||||
},
|
|
||||||
pluginProps: {
|
|
||||||
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
pluginKey: 'sourceEditor',
|
pluginKey: 'sourceEditor',
|
||||||
type: 'PanelIcon',
|
type: 'PanelIcon',
|
||||||
@ -83,10 +84,10 @@ export default {
|
|||||||
hideTitleBar: true,
|
hideTitleBar: true,
|
||||||
maxHeight: 800,
|
maxHeight: 800,
|
||||||
maxWidth: 1200,
|
maxWidth: 1200,
|
||||||
title: "动作面板",
|
title: '动作面板',
|
||||||
width: 600
|
width: 600,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
pluginKey: 'zhEn',
|
pluginKey: 'zhEn',
|
||||||
@ -104,7 +105,7 @@ export default {
|
|||||||
{
|
{
|
||||||
pluginKey: 'variableBindDialog',
|
pluginKey: 'variableBindDialog',
|
||||||
},
|
},
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
shortCuts: [],
|
shortCuts: [],
|
||||||
lifeCycles: {
|
lifeCycles: {
|
||||||
|
|||||||
@ -30,15 +30,6 @@ skeleton.add({
|
|||||||
type: 'Widget',
|
type: 'Widget',
|
||||||
content: DesignerPlugin,
|
content: DesignerPlugin,
|
||||||
});
|
});
|
||||||
skeleton.add({
|
|
||||||
area: 'leftArea',
|
|
||||||
name: 'outlinePane',
|
|
||||||
type: 'PanelDock',
|
|
||||||
content: Outline,
|
|
||||||
panelProps: {
|
|
||||||
area: 'leftFixedArea',
|
|
||||||
},
|
|
||||||
});
|
|
||||||
skeleton.add({
|
skeleton.add({
|
||||||
area: 'rightArea',
|
area: 'rightArea',
|
||||||
name: 'settingsPane',
|
name: 'settingsPane',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user