mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-21 05:19:42 +08:00
fix: res_body 样式修改
This commit is contained in:
parent
2e9a856c4f
commit
47c08bab7b
@ -88,7 +88,7 @@ class View extends Component {
|
|||||||
}
|
}
|
||||||
res_body(res_body_type,res_body){
|
res_body(res_body_type,res_body){
|
||||||
if(res_body_type === 'json'){
|
if(res_body_type === 'json'){
|
||||||
let h = this.countEnter(this.props.curData.req_body_other);
|
let h = this.countEnter(this.props.curData.res_body);
|
||||||
return <div style={{display:this.props.curData.res_body?"":"none"}} className="colBody">
|
return <div style={{display:this.props.curData.res_body?"":"none"}} className="colBody">
|
||||||
<span className="colKey">返回Body:</span>
|
<span className="colKey">返回Body:</span>
|
||||||
<div id="vres_body_json" style={{ minHeight: h*16+20 }}></div>
|
<div id="vres_body_json" style={{ minHeight: h*16+20 }}></div>
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user