mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
Merge pull request #7222 from yinchunyu/bugfix/subEditor
fix: 编辑态下子编辑器不能展示正确数据
This commit is contained in:
commit
1f400f1207
@ -1600,13 +1600,16 @@ export const MainStore = types
|
||||
self.subEditorContext = {
|
||||
...context,
|
||||
hostNode: self.getNodeById(activeId),
|
||||
data: extendObject(context.data, {
|
||||
__curCmptTreeWrap: {
|
||||
label: context.title,
|
||||
disabled: true
|
||||
},
|
||||
__superCmptTreeSource: self.getComponentTreeSource()
|
||||
})
|
||||
data: createObject(
|
||||
self.ctx,
|
||||
extendObject(context.data, {
|
||||
__curCmptTreeWrap: {
|
||||
label: context.title,
|
||||
disabled: true
|
||||
},
|
||||
__superCmptTreeSource: self.getComponentTreeSource()
|
||||
})
|
||||
)
|
||||
};
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user