Merge branch 'patch-3' of git://github.com/nestoralonso/anyproxy into nestoralonso-patch-3

This commit is contained in:
xiaofeng.mxf 2020-01-01 16:22:43 +08:00
commit 8ca35ba809

View File

@ -13,7 +13,6 @@ import RecordWsMessageDetail from 'component/record-ws-message-detail';
import { hideRecordDetail } from 'action/recordAction'; import { hideRecordDetail } from 'action/recordAction';
import Style from './record-detail.less'; import Style from './record-detail.less';
import CommonStyle from '../style/common.less';
const StyleBind = ClassBind.bind(Style); const StyleBind = ClassBind.bind(Style);
const PageIndexMap = { const PageIndexMap = {
@ -22,9 +21,6 @@ const PageIndexMap = {
WEBSOCKET_INDEX: 'WEBSOCKET_INDEX' WEBSOCKET_INDEX: 'WEBSOCKET_INDEX'
}; };
// the maximum length of the request body to decide whether to offer a download link for the request body
const MAXIMUM_REQ_BODY_LENGTH = 10000;
class RecordDetail extends React.Component { class RecordDetail extends React.Component {
constructor() { constructor() {
super(); super();
@ -65,7 +61,6 @@ class RecordDetail extends React.Component {
} }
getWsMessageDiv(recordDetail) { getWsMessageDiv(recordDetail) {
const { globalStatus } = this.props;
return <RecordWsMessageDetail recordDetail={recordDetail} />; return <RecordWsMessageDetail recordDetail={recordDetail} />;
} }