Commit f6efb8e2 authored by 刘殿昕's avatar 刘殿昕

服务测试返回参数

parent 69f2de44
...@@ -647,9 +647,9 @@ export default { ...@@ -647,9 +647,9 @@ export default {
this.$api.workbench.fwzcFwcs(query).then(response => { this.$api.workbench.fwzcFwcs(query).then(response => {
if (response.data.success == 1) { if (response.data.success == 1) {
let data = response.data.data; let data = response.data.data;
if (this.activeBtn == 0 && this.activeName == 1) { if (data.body_fields && data.body_fields.length != 0) {
this.datasQqcs = data.body_fields; this.datasQqcs = data.body_fields;
} else if (this.activeBtn == 0) { } else {
this.datasQqcs = data.param_fields; this.datasQqcs = data.param_fields;
} }
this.datasFhcs = data.response_fields; this.datasFhcs = data.response_fields;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment