mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-03 20:48:49 +08:00
fix(amis-saas-6877): 修复容器内放置service组件时渲染异常
Change-Id: Ia5115e1cc92445e7332eb0baabe2f12b9b51cfed
This commit is contained in:
parent
bc1a41d7ce
commit
3275ebe5c6
@ -82,6 +82,8 @@ export function makeWrapper(
|
|||||||
closestScope = manager.dataSchema.getScope(
|
closestScope = manager.dataSchema.getScope(
|
||||||
`${from.id}-${from.type}`
|
`${from.id}-${from.type}`
|
||||||
);
|
);
|
||||||
|
} else if (!from.parent) {
|
||||||
|
closestScope = manager.dataSchema.getScope('root');
|
||||||
}
|
}
|
||||||
|
|
||||||
from = from.parent;
|
from = from.parent;
|
||||||
|
Loading…
Reference in New Issue
Block a user