mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-07 19:17:07 +00:00
fix: 修复新增循环,配置表达式需要刷新才生效问题
This commit is contained in:
parent
37194d1674
commit
ffa0ebbe36
@ -361,6 +361,8 @@ export function leafWrapper(Comp: types.IBaseRenderer, {
|
|||||||
if (key === '___loop___') {
|
if (key === '___loop___') {
|
||||||
__debug('key is ___loop___, render a page!');
|
__debug('key is ___loop___, render a page!');
|
||||||
container.rerender();
|
container.rerender();
|
||||||
|
// 由于 scope 变化,需要清空缓存,使用新的 scope
|
||||||
|
cache.component.delete(schema.id);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!this.shouldRenderSingleNode()) {
|
if (!this.shouldRenderSingleNode()) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user