mirror of
https://gitee.com/eolink_admin/postcat.git
synced 2024-12-01 03:08:03 +08:00
parent
8160607473
commit
69753f1f1f
@ -83,7 +83,7 @@ export class ParamsImportComponent {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
paramCode = JSON.parse(JSON.stringify(xml2UiData(this.paramCode)));
|
paramCode = JSON.parse(JSON.stringify(xml2UiData(this.paramCode)));
|
||||||
console.log('-->', paramCode);
|
// console.log('-->', paramCode);
|
||||||
}
|
}
|
||||||
if (this.contentType === 'raw') {
|
if (this.contentType === 'raw') {
|
||||||
paramCode = this.paramCode;
|
paramCode = this.paramCode;
|
||||||
@ -115,6 +115,7 @@ export class ParamsImportComponent {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 'overwrite': {
|
case 'overwrite': {
|
||||||
|
console.log(cacheData);
|
||||||
resultData = cacheData;
|
resultData = cacheData;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -38,6 +38,7 @@ export const parseTree = (key, value, level = 0) => {
|
|||||||
return {
|
return {
|
||||||
name: key,
|
name: key,
|
||||||
required: true,
|
required: true,
|
||||||
|
value: JSON.stringify(value),
|
||||||
example: JSON.stringify(value),
|
example: JSON.stringify(value),
|
||||||
type: 'array',
|
type: 'array',
|
||||||
description: '',
|
description: '',
|
||||||
|
Loading…
Reference in New Issue
Block a user