bug fix: 多个子面板场景的 props 丢失

This commit is contained in:
mario.gk 2020-06-02 17:22:20 +08:00
parent cd91430234
commit 8961cfcb89

View File

@ -93,6 +93,7 @@ function upgradeConfig(config: OldPaneConfig): IWidgetBaseConfig & { area: strin
type: 'Panel',
name: typeof title === 'string' ? title : `${name}:${index}`,
content,
contentProps: props,
props: {
title,
help: tip,