diff --git a/client/components/Postman/Postman.js b/client/components/Postman/Postman.js index 0722873e..28b5e931 100755 --- a/client/components/Postman/Postman.js +++ b/client/components/Postman/Postman.js @@ -521,7 +521,6 @@ export default class Run extends Component { } render() { - console.log(this.state.resStatusCode) const { method, domains, pathParam, pathname, query, headers, bodyForm, caseEnv, bodyType, resHeader, loading, validRes } = this.state; HTTP_METHOD[method] = HTTP_METHOD[method] || {} const hasPlugin = this.state.hasPlugin; diff --git a/client/containers/Project/Interface/InterfaceList/View.js b/client/containers/Project/Interface/InterfaceList/View.js index 204e5477..c830a8cc 100755 --- a/client/containers/Project/Interface/InterfaceList/View.js +++ b/client/containers/Project/Interface/InterfaceList/View.js @@ -263,7 +263,7 @@ class View extends Component { title: '参数值', dataIndex: 'value', key: 'value', - width: '100px' + width: '300px' }, { title: '是否必须', dataIndex: 'required', diff --git a/client/plugin-module.js b/client/plugin-module.js index 7c6d6c73..c3cbdea7 100644 --- a/client/plugin-module.js +++ b/client/plugin-module.js @@ -1 +1 @@ -module.exports = {} \ No newline at end of file +module.exports = {qsso : require('plugins/yapi-plugin-qsso/client.js')} \ No newline at end of file diff --git a/server/models/interfaceCase.js b/server/models/interfaceCase.js index 7c792d33..3ceef9f8 100755 --- a/server/models/interfaceCase.js +++ b/server/models/interfaceCase.js @@ -34,7 +34,7 @@ class interfaceCase extends baseModel { test_status: {type: String, enum: ['ok', 'invalid', 'error', '']}, test_report: [], test_res_header: Schema.Types.Mixed, - mock_verify: {type: Boolean, default: false} + mock_verify: {type: Boolean, default: true} }; }