get.copy构造器添加参数
This commit is contained in:
parent
e66d6778e0
commit
f9e44626c6
|
@ -828,7 +828,7 @@ export class Get extends Uninstantable {
|
||||||
return target;
|
return target;
|
||||||
}
|
}
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
else target = constructor ? new constructor() : Object.create(null);
|
else target = constructor ? new constructor(target) : Object.create(null);
|
||||||
map.set(obj, target);
|
map.set(obj, target);
|
||||||
|
|
||||||
if (obj instanceof Map) {
|
if (obj instanceof Map) {
|
||||||
|
|
Loading…
Reference in New Issue