From d2c8391246c867c78d5ee89cb0efebb31fb39d7f Mon Sep 17 00:00:00 2001 From: suxiaoxin Date: Fri, 29 Sep 2017 16:00:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AE=8C=E5=96=84postman=E5=92=8C?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E9=9B=86=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/components/Postman/Postman.js | 1 - client/containers/Project/Interface/InterfaceList/View.js | 2 +- client/plugin-module.js | 2 +- server/models/interfaceCase.js | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) 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} }; }