mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-19 22:58:15 +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.name = name;
|
||||||
this.id = uniqueId(`dock:${name}$`);
|
this.id = uniqueId(`dock:${name}$`);
|
||||||
this.panelName = config.panelName || name;
|
this.panelName = config.panelName || name;
|
||||||
|
this.align = props?.align;
|
||||||
if (content) {
|
if (content) {
|
||||||
const _panelProps: any = { ...panelProps };
|
const _panelProps: any = { ...panelProps };
|
||||||
if (_panelProps.title == null && props) {
|
if (_panelProps.title == null && props) {
|
||||||
|
|||||||
@ -73,7 +73,9 @@ function upgradeConfig(config: OldPaneConfig): IWidgetBaseConfig & { area: strin
|
|||||||
if (menu) {
|
if (menu) {
|
||||||
newConfig.props.title = menu;
|
newConfig.props.title = menu;
|
||||||
}
|
}
|
||||||
if (!isAction) {
|
if (isAction) {
|
||||||
|
newConfig.type = 'Dock';
|
||||||
|
} else {
|
||||||
newConfig.panelProps = {
|
newConfig.panelProps = {
|
||||||
title,
|
title,
|
||||||
hideTitleBar,
|
hideTitleBar,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user