refactor(接口定义): 点击用例结果状态,展开用例结果详情页面
This commit is contained in:
parent
6751fa0b39
commit
8840053d18
|
@ -38,7 +38,6 @@
|
||||||
"vue-echarts": "^4.1.0",
|
"vue-echarts": "^4.1.0",
|
||||||
"vue-float-action-button": "^0.6.6",
|
"vue-float-action-button": "^0.6.6",
|
||||||
"vue-i18n": "^8.15.3",
|
"vue-i18n": "^8.15.3",
|
||||||
"vue-input-tag": "^2.0.7",
|
|
||||||
"vue-jsonpath-picker": "^1.1.5",
|
"vue-jsonpath-picker": "^1.1.5",
|
||||||
"vue-papa-parse": "^2.0.0",
|
"vue-papa-parse": "^2.0.0",
|
||||||
"vue-pdf": "^4.2.0",
|
"vue-pdf": "^4.2.0",
|
||||||
|
|
|
@ -33,6 +33,9 @@
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getExecResult();
|
this.getExecResult();
|
||||||
|
if (this.apiItem.isActive) {
|
||||||
|
this.isActive = true;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getExecResult() {
|
getExecResult() {
|
||||||
|
|
|
@ -269,8 +269,9 @@
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
showExecResult(data) {
|
showExecResult(item) {
|
||||||
this.$emit('showExecResult', data);
|
item.active = false;
|
||||||
|
item.isActive = true;
|
||||||
},
|
},
|
||||||
getBodyUploadFiles(row) {
|
getBodyUploadFiles(row) {
|
||||||
let bodyUploadFiles = [];
|
let bodyUploadFiles = [];
|
||||||
|
|
Loading…
Reference in New Issue