fix: subloop read-only typeerror bug
This commit is contained in:
@@ -286,7 +286,7 @@ const getJsonObject = (properties) => {
|
|||||||
for (let key in properties) {
|
for (let key in properties) {
|
||||||
const property = properties[key];
|
const property = properties[key];
|
||||||
|
|
||||||
const subloop = false
|
let subloop = false
|
||||||
if (property.hasOwnProperty("type")) {
|
if (property.hasOwnProperty("type")) {
|
||||||
if (property.type === "object" || property.type === "array") {
|
if (property.type === "object" || property.type === "array") {
|
||||||
subloop = true
|
subloop = true
|
||||||
|
|||||||
Reference in New Issue
Block a user