mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-09 05:00:30 +08:00
fix: 完善postman和测试集功能
This commit is contained in:
parent
12cb127847
commit
d2c8391246
@ -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;
|
||||||
|
@ -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',
|
||||||
|
@ -1 +1 @@
|
|||||||
module.exports = {}
|
module.exports = {qsso : require('plugins/yapi-plugin-qsso/client.js')}
|
@ -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}
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user