refactor(接口定义): 点击用例结果状态,展开用例结果详情页面

This commit is contained in:
fit2-zhao 2021-01-21 11:30:23 +08:00
parent 6751fa0b39
commit 8840053d18
3 changed files with 6 additions and 3 deletions

View File

@ -38,7 +38,6 @@
"vue-echarts": "^4.1.0",
"vue-float-action-button": "^0.6.6",
"vue-i18n": "^8.15.3",
"vue-input-tag": "^2.0.7",
"vue-jsonpath-picker": "^1.1.5",
"vue-papa-parse": "^2.0.0",
"vue-pdf": "^4.2.0",

View File

@ -33,6 +33,9 @@
},
created() {
this.getExecResult();
if (this.apiItem.isActive) {
this.isActive = true;
}
},
methods: {
getExecResult() {

View File

@ -269,8 +269,9 @@
return true;
}
},
showExecResult(data) {
this.$emit('showExecResult', data);
showExecResult(item) {
item.active = false;
item.isActive = true;
},
getBodyUploadFiles(row) {
let bodyUploadFiles = [];