mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2024-11-27 08:39:59 +08:00
Merge pull request #550 from FriedRiceNoodles/chore/comments
chore(validator): comment out a log-line
This commit is contained in:
commit
30d335040e
@ -74,7 +74,6 @@ export function generateDefaultValueFromSpec(
|
||||
spec: JSONSchema7,
|
||||
returnPlaceholderForAny = false
|
||||
): JSONSchema7Type {
|
||||
console.log(spec);
|
||||
if (!spec.type) {
|
||||
if ((spec.anyOf && spec.anyOf!.length > 0) || (spec.oneOf && spec.oneOf.length > 0)) {
|
||||
const subSpec = (spec.anyOf! || spec.oneOf)[0];
|
||||
|
Loading…
Reference in New Issue
Block a user