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