fix: key
This commit is contained in:
parent
0adb244efc
commit
1689be590a
|
@ -24,7 +24,7 @@ export function mergeDiffObject(pristine, current) {
|
|||
// eslint-disable-next-line no-use-before-define
|
||||
const value = mergeDiff(pristine[key], current[key]);
|
||||
if (undefined !== value) {
|
||||
diff[i] = value;
|
||||
diff[key] = value;
|
||||
}
|
||||
}
|
||||
if (0 === Object.keys(diff).length) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user