|
|
|
@ -318,6 +318,7 @@ class CodeEvaluateView extends Component {
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
const _arrowClasses = isCollapse ? 'iconfont icon-xiajiantou btn-arrow' : 'iconfont icon-shangjiantou btn-arrow';
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<React.Fragment>
|
|
|
|
|
<ul id="blacktab_nav">
|
|
|
|
@ -330,11 +331,11 @@ class CodeEvaluateView extends Component {
|
|
|
|
|
<li className={`blacktab_con ${ tabIndex === 1 ? 'tab_hover' : ''}`} onClick={() => this.tabIndexChange(1)}>
|
|
|
|
|
<a href="javascript:void(0);" className="tab_type tab_color">测试结果</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li className="blacktab_con_abs">
|
|
|
|
|
{this.props&&this.props.vnc_url?<li className="blacktab_con_abs">
|
|
|
|
|
<span className="code_evalute_icon" onClick={() => this.handleShowTestCase()}>
|
|
|
|
|
<span className={_arrowClasses}></span>
|
|
|
|
|
</span>
|
|
|
|
|
</li>
|
|
|
|
|
</li>:""}
|
|
|
|
|
|
|
|
|
|
{this.props.inDrawer ? <Tooltip id="tooltip-icon-expand" title={ showOrHide ? "收起" : "展开"}>
|
|
|
|
|
{/*TODO 按钮大小改造,css*/}
|
|
|
|
|