fix: 修改req_body 为file和raw 时出现的问题

This commit is contained in:
gaoxiaolin.gao 2018-04-26 19:25:57 +08:00
parent 0d40ca0ae9
commit db3b49bbca

View File

@ -136,7 +136,7 @@ class View extends Component {
req_body(req_body_type, req_body_other, req_body_is_json_schema) {
if (req_body_other) {
if (req_body_is_json_schema) {
if (req_body_is_json_schema && req_body_type === 'json') {
return <SchemaTable dataSource={req_body_other} />;
} else {
return (