@gct-paas/word 0.1.54 → 0.1.56
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.es.js +2 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -108471,6 +108471,8 @@ const initObjectTypeFieldDefaultValue = (rawData, instances, fieldList, runtimeJ
|
|
|
108471
108471
|
);
|
|
108472
108472
|
if (isNotUsed) {
|
|
108473
108473
|
delete rawData[belongingObject];
|
|
108474
|
+
} else {
|
|
108475
|
+
rawData[belongingObject] = null;
|
|
108474
108476
|
}
|
|
108475
108477
|
});
|
|
108476
108478
|
const res = JSON.parse(runtimeJson);
|
|
@@ -108485,7 +108487,6 @@ const initObjectTypeFieldDefaultValue = (rawData, instances, fieldList, runtimeJ
|
|
|
108485
108487
|
if (existing !== void 0 && existing !== null) continue;
|
|
108486
108488
|
rawData[key] = value;
|
|
108487
108489
|
}
|
|
108488
|
-
rawData[objectField] = null;
|
|
108489
108490
|
}
|
|
108490
108491
|
);
|
|
108491
108492
|
};
|