mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 01:21:58 +00:00
fix left area bottom
This commit is contained in:
parent
fbdbafef16
commit
3b0a884486
@ -68,6 +68,7 @@ export default class PanelDock implements IWidget {
|
||||
this.name = name;
|
||||
this.id = uniqueId(`dock:${name}$`);
|
||||
this.panelName = config.panelName || name;
|
||||
this.align = props?.align;
|
||||
if (content) {
|
||||
const _panelProps: any = { ...panelProps };
|
||||
if (_panelProps.title == null && props) {
|
||||
|
||||
@ -73,7 +73,9 @@ function upgradeConfig(config: OldPaneConfig): IWidgetBaseConfig & { area: strin
|
||||
if (menu) {
|
||||
newConfig.props.title = menu;
|
||||
}
|
||||
if (!isAction) {
|
||||
if (isAction) {
|
||||
newConfig.type = 'Dock';
|
||||
} else {
|
||||
newConfig.panelProps = {
|
||||
title,
|
||||
hideTitleBar,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user