mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-12 00:48:16 +00:00
Merge commit '5431363e43c7a86d1311c21eb6d66382450d5452' into def_releases_202203291003099_ali-lowcode_ali-lowcode-engine/1.0.80
This commit is contained in:
commit
ced3ba4c1d
@ -527,7 +527,7 @@ export default function baseRendererFactory() {
|
||||
engine?.props?.onCompGetCtx(schema, scope);
|
||||
}
|
||||
props.key = props.key || `${schema.__ctx.lceKey}_${schema.__ctx.idx || 0}_${idx !== undefined ? idx : ''}`;
|
||||
} else if (typeof idx === 'number' && !props.key) {
|
||||
} else if ((typeof idx === 'number' || typeof idx === 'string') && !props.key) {
|
||||
// 仅当循环场景走这里
|
||||
props.key = idx;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user