bug fixed modified data object
This commit is contained in:
parent
6963051974
commit
245112438e
|
@ -5,7 +5,7 @@ export default function getModifiedData(object, objectOld) {
|
|||
var newObject = {};
|
||||
for (var k in object) {
|
||||
var val = object[k];
|
||||
var valOld = objectOld[k];
|
||||
var valOld = objectOld[k] === undefined ? null : objectOld[k];
|
||||
|
||||
if (!isEqual(val, valOld)) {
|
||||
if (val instanceof Object) {
|
||||
|
|
Loading…
Reference in New Issue