diff --git a/src/workbench/browser/src/app/shared/components/params-import/params-import.component.ts b/src/workbench/browser/src/app/shared/components/params-import/params-import.component.ts index 1c1e3c8a..5cf86472 100644 --- a/src/workbench/browser/src/app/shared/components/params-import/params-import.component.ts +++ b/src/workbench/browser/src/app/shared/components/params-import/params-import.component.ts @@ -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; } diff --git a/src/workbench/browser/src/app/utils/data-transfer/data-transfer.utils.ts b/src/workbench/browser/src/app/utils/data-transfer/data-transfer.utils.ts index 79ac4129..ffaf2f7b 100644 --- a/src/workbench/browser/src/app/utils/data-transfer/data-transfer.utils.ts +++ b/src/workbench/browser/src/app/utils/data-transfer/data-transfer.utils.ts @@ -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: '',