fix: 完善postman和测试集功能

This commit is contained in:
suxiaoxin 2017-09-29 16:00:22 +08:00
parent 12cb127847
commit d2c8391246
4 changed files with 3 additions and 4 deletions

View File

@ -521,7 +521,6 @@ export default class Run extends Component {
} }
render() { render() {
console.log(this.state.resStatusCode)
const { method, domains, pathParam, pathname, query, headers, bodyForm, caseEnv, bodyType, resHeader, loading, validRes } = this.state; const { method, domains, pathParam, pathname, query, headers, bodyForm, caseEnv, bodyType, resHeader, loading, validRes } = this.state;
HTTP_METHOD[method] = HTTP_METHOD[method] || {} HTTP_METHOD[method] = HTTP_METHOD[method] || {}
const hasPlugin = this.state.hasPlugin; const hasPlugin = this.state.hasPlugin;

View File

@ -263,7 +263,7 @@ class View extends Component {
title: '参数值', title: '参数值',
dataIndex: 'value', dataIndex: 'value',
key: 'value', key: 'value',
width: '100px' width: '300px'
}, { }, {
title: '是否必须', title: '是否必须',
dataIndex: 'required', dataIndex: 'required',

View File

@ -1 +1 @@
module.exports = {} module.exports = {qsso : require('plugins/yapi-plugin-qsso/client.js')}

View File

@ -34,7 +34,7 @@ class interfaceCase extends baseModel {
test_status: {type: String, enum: ['ok', 'invalid', 'error', '']}, test_status: {type: String, enum: ['ok', 'invalid', 'error', '']},
test_report: [], test_report: [],
test_res_header: Schema.Types.Mixed, test_res_header: Schema.Types.Mixed,
mock_verify: {type: Boolean, default: false} mock_verify: {type: Boolean, default: true}
}; };
} }