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}
接口路径: