fixed: issues #73 (#76)

This commit is contained in:
夜鹰 2022-06-17 18:48:20 +08:00 committed by GitHub
parent 8160607473
commit 69753f1f1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -83,7 +83,7 @@ export class ParamsImportComponent {
return;
}
paramCode = JSON.parse(JSON.stringify(xml2UiData(this.paramCode)));
console.log('-->', paramCode);
// console.log('-->', paramCode);
}
if (this.contentType === 'raw') {
paramCode = this.paramCode;
@ -115,6 +115,7 @@ export class ParamsImportComponent {
break;
}
case 'overwrite': {
console.log(cacheData);
resultData = cacheData;
break;
}

View File

@ -38,6 +38,7 @@ export const parseTree = (key, value, level = 0) => {
return {
name: key,
required: true,
value: JSON.stringify(value),
example: JSON.stringify(value),
type: 'array',
description: '',