fix(接口自动化): 预览
This commit is contained in:
parent
4b5e4bbea9
commit
a2e2994dbc
|
@ -1 +1 @@
|
|||
Subproject commit f27d1609d77f7d6c988d37d709466e844d350e17
|
||||
Subproject commit 9f4a9bbf46fc1333dbcccea21f83e27e3ec10b1f
|
|
@ -57,8 +57,7 @@
|
|||
methods: {
|
||||
handleClick() {
|
||||
if (this.activeName === 'preview') {
|
||||
console.log(this.schema)
|
||||
this.preview = schemaToJson(json5.parse(JSON.stringify(this.schema)));
|
||||
this.preview = schemaToJson(Object.values(this.schema)[0]);
|
||||
}
|
||||
},
|
||||
openOneClickOperation() {
|
||||
|
|
|
@ -289,6 +289,7 @@
|
|||
for (const k in this.advancedValue) {
|
||||
if (this.pickValue[k]) this.advancedValue[k] = this.pickValue[k]
|
||||
}
|
||||
console.log(this.pickValue)
|
||||
},
|
||||
handleClose() {
|
||||
this.modalVisible = false;
|
||||
|
|
Loading…
Reference in New Issue