mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-09 05:00:30 +08:00
fix: 修改req_body 为file和raw 时出现的问题
This commit is contained in:
parent
0d40ca0ae9
commit
db3b49bbca
@ -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 (
|
||||
|
Loading…
Reference in New Issue
Block a user