|
@@ -16,7 +16,7 @@ class HistoryCaseContainer extends React.Component {
|
|
|
const { visible,showHistoryCases,showHistoryBox,items,handleCaseClick,handleQuoteClick,handleSortClick,activeHistory,preInfo } = this.props;
|
|
|
const domNode = document.getElementById('root');
|
|
|
return ReactDom.createPortal(
|
|
|
- showHistoryCases?<div className={styles.historyCaseWrap}>
|
|
|
+ showHistoryCases?<React.Fragment>
|
|
|
<div className={styles.maskHistory} onClick={this.showHistoryBox}></div>
|
|
|
<HistoryList
|
|
|
items={items}
|
|
@@ -28,7 +28,7 @@ class HistoryCaseContainer extends React.Component {
|
|
|
handleSortClick={handleSortClick}
|
|
|
preInfo={preInfo}
|
|
|
></HistoryList>
|
|
|
- </div>:null
|
|
|
+ </React.Fragment>:null
|
|
|
,domNode)
|
|
|
}
|
|
|
}
|