cloud-web-corejs 1.0.202 → 1.0.204
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -2295,8 +2295,12 @@ modules = {
|
|
|
2295
2295
|
Object.assign(obj.row, res.objx);
|
|
2296
2296
|
});
|
|
2297
2297
|
} else {
|
|
2298
|
-
$grid.remove(obj.row);
|
|
2299
|
-
$grid.insertAt(res.objx);
|
|
2298
|
+
// $grid.remove(obj.row);
|
|
2299
|
+
// $grid.insertAt(res.objx);
|
|
2300
|
+
let items = that.getValue()
|
|
2301
|
+
let index = items.findIndex((item) => item.id === obj.row.id)
|
|
2302
|
+
items.splice(index, 1,res.objx)
|
|
2303
|
+
that.setValue(items);
|
|
2300
2304
|
}
|
|
2301
2305
|
delete obj.$table.editCloneRow;
|
|
2302
2306
|
});
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
formData[key] = toDo(value);
|
|
56
56
|
} else {
|
|
57
57
|
if (key == 'id' && value.toString().indexOf('row_') == 0) {
|
|
58
|
-
formData[key] =
|
|
58
|
+
formData[key] = null;
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
}
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
Object.assign(formData, commonDataUtil.handleForm2(value, rKey));
|
|
81
81
|
} else {
|
|
82
82
|
if (key == 'id' && value.toString().indexOf('row_') == 0) {
|
|
83
|
-
value =
|
|
83
|
+
value = null;
|
|
84
84
|
} else {
|
|
85
85
|
formData[rKey] = value;
|
|
86
86
|
}
|