fix(接口定义): 修复部分缺陷

This commit is contained in:
fit2-zhao 2020-12-17 13:40:50 +08:00
parent 1c184a3865
commit e18e136b27
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@
method: [{required: true, message: this.$t('test_track.case.input_maintainer'), trigger: 'change'}], method: [{required: true, message: this.$t('test_track.case.input_maintainer'), trigger: 'change'}],
url: [{required: true, message: this.$t('api_test.definition.request.path_all_info'), trigger: 'blur'}], url: [{required: true, message: this.$t('api_test.definition.request.path_all_info'), trigger: 'blur'}],
}, },
debugForm: {method: REQ_METHOD[0].id}, debugForm: {method: REQ_METHOD[0].id, environmentId: ""},
options: [], options: [],
responseData: {type: 'HTTP', responseResult: {}, subRequestResults: []}, responseData: {type: 'HTTP', responseResult: {}, subRequestResults: []},
loading: false, loading: false,

View File

@ -138,7 +138,7 @@
{name: this.$t('api_test.definition.request.batch_edit'), handleClick: this.handleEditBatch} {name: this.$t('api_test.definition.request.batch_edit'), handleClick: this.handleEditBatch}
], ],
typeArr: [ typeArr: [
{id: 'status', name: this.$t('api_test.definition.api_case_status')}, {id: 'status', name: this.$t('api_test.definition.api_status')},
{id: 'method', name: this.$t('api_test.definition.api_type')}, {id: 'method', name: this.$t('api_test.definition.api_type')},
{id: 'userId', name: this.$t('api_test.definition.api_principal')}, {id: 'userId', name: this.$t('api_test.definition.api_principal')},
], ],