fix: 修复设置区不刷新的 bug

This commit is contained in:
力皓 2020-12-09 20:21:34 +08:00
parent 8c4ee26d64
commit 6b6536498f

View File

@ -151,7 +151,7 @@ export class SettingsPrimaryPane extends Component<{ editor: Editor; config: any
{(skeleton) => {
if (skeleton) {
return (
<StageBox skeleton={skeleton} target={settings}>
<StageBox skeleton={skeleton} target={settings} key={settings.id}>
<SettingsPane target={settings} usePopup={false} />
</StageBox>
);