fix(接口自动化): 预览

This commit is contained in:
fit2-zhao 2020-12-31 16:00:23 +08:00
parent 4b5e4bbea9
commit a2e2994dbc
3 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit f27d1609d77f7d6c988d37d709466e844d350e17
Subproject commit 9f4a9bbf46fc1333dbcccea21f83e27e3ec10b1f

View File

@ -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() {

View File

@ -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;