|
|
|
@ -296,7 +296,7 @@ class CodeRepositoryView extends Component {
|
|
|
|
|
const { repositoryCode, onRepositoryCodeUpdate, showFilesDrawer, drawerOpen, loadingFirstRepoFiles
|
|
|
|
|
, challenge, evaluateViewExpanded, onRepositoryViewExpand, codeStatus ,
|
|
|
|
|
showResetCodeDialog, showResetPassedCodeDialog, tabIndex, tabIndexChange, game, shixun, isEditablePath, currentPath
|
|
|
|
|
, showSettingDrawer, hide_code, myshixun_manager } = this.props;
|
|
|
|
|
, showSettingDrawer, hide_code, myshixun_manager, zip_path } = this.props;
|
|
|
|
|
// onRequestChange={(drawerOpen) => showFilesDrawer(drawerOpen)}
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
|
@ -410,9 +410,9 @@ class CodeRepositoryView extends Component {
|
|
|
|
|
</a>
|
|
|
|
|
</Tooltip> }
|
|
|
|
|
|
|
|
|
|
{/* onClick={showFilesDrawer.bind(this, true)} */}
|
|
|
|
|
{/* onClick={showFilesDrawer.bind(this, true)} target='_blank'*/}
|
|
|
|
|
{ myshixun_manager == true && <Tooltip title={ "下载代码"} disableFocusListener={true}>
|
|
|
|
|
<a href={shixun.zip_path || `/myshixuns/${myshixun.identifier}/archive`} className="iconButton" target='_blank'>
|
|
|
|
|
<a href={zip_path || `/myshixuns/${myshixun.identifier}/archive`} className="iconButton" >
|
|
|
|
|
<i className="iconfont icon-xiazai1 font-18 "></i>
|
|
|
|
|
</a>
|
|
|
|
|
</Tooltip> }
|
|
|
|
|