@ibiz-template/runtime 0.3.4 → 0.3.5-alpha.0
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/dist/index.esm.js +9 -2
- package/dist/index.system.min.js +1 -1
- package/dist/index.system.min.js.map +1 -1
- package/out/service/app-data-entity/app-data-entity.d.ts.map +1 -1
- package/out/service/app-data-entity/app-data-entity.js +9 -2
- package/package.json +2 -2
- package/src/service/app-data-entity/app-data-entity.ts +9 -2
package/dist/index.esm.js
CHANGED
|
@@ -5269,11 +5269,18 @@ var AppDataEntity = class _AppDataEntity {
|
|
|
5269
5269
|
* @return {*} {AppDataEntity}
|
|
5270
5270
|
*/
|
|
5271
5271
|
assign(data) {
|
|
5272
|
+
let _data = {};
|
|
5272
5273
|
if (data instanceof _AppDataEntity) {
|
|
5273
|
-
|
|
5274
|
+
_data = data._data;
|
|
5274
5275
|
} else {
|
|
5275
|
-
|
|
5276
|
+
_data = data;
|
|
5276
5277
|
}
|
|
5278
|
+
Object.keys(_data).forEach((key) => {
|
|
5279
|
+
if (_data[key] === void 0) {
|
|
5280
|
+
delete _data[key];
|
|
5281
|
+
}
|
|
5282
|
+
});
|
|
5283
|
+
Object.assign(this._data, _data);
|
|
5277
5284
|
return this;
|
|
5278
5285
|
}
|
|
5279
5286
|
/**
|