From ca567c2387faa4305b69e3e1f7bee07e7a60b954 Mon Sep 17 00:00:00 2001 From: qitmac000249 Date: Fri, 25 Aug 2017 11:11:00 +0800 Subject: [PATCH] fix: modify --- client/containers/Project/Interface/InterfaceList/View.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/containers/Project/Interface/InterfaceList/View.js b/client/containers/Project/Interface/InterfaceList/View.js index de2ea6ab..e98dafc8 100644 --- a/client/containers/Project/Interface/InterfaceList/View.js +++ b/client/containers/Project/Interface/InterfaceList/View.js @@ -246,6 +246,7 @@ class View extends Component { } } methodColor = methodColor[this.props.curData.method?this.props.curData.method.toLowerCase():"get"]; + if(!methodColor) methodColor = "get"; let res =
接口名: @@ -253,7 +254,7 @@ class View extends Component {
请求方法: - {this.props.curData.method} + {this.props.curData.method}
接口路径: