fix(amis-saas-6877): 修复容器内放置service组件时渲染异常

Change-Id: Ia5115e1cc92445e7332eb0baabe2f12b9b51cfed
This commit is contained in:
wibetter 2022-09-14 17:41:47 +08:00
parent bc1a41d7ce
commit 3275ebe5c6

View File

@ -82,6 +82,8 @@ export function makeWrapper(
closestScope = manager.dataSchema.getScope(
`${from.id}-${from.type}`
);
} else if (!from.parent) {
closestScope = manager.dataSchema.getScope('root');
}
from = from.parent;