mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:48:55 +08:00
chore: array 场景也需要下发 idMap
This commit is contained in:
parent
99f41f30ed
commit
dec3015927
@ -79,7 +79,7 @@ export function JSONPipeIn(obj: any, generateId = false, idMap: any = {}): any {
|
||||
}
|
||||
|
||||
if (Array.isArray(obj)) {
|
||||
return obj.map((item, index) => JSONPipeIn(item, generateId));
|
||||
return obj.map((item, index) => JSONPipeIn(item, generateId, idMap));
|
||||
}
|
||||
|
||||
let toUpdate: any = {};
|
||||
|
Loading…
Reference in New Issue
Block a user