diff --git a/public/react/src/modules/page/main/CodeRepositoryView.js b/public/react/src/modules/page/main/CodeRepositoryView.js index 758550d89..74a170406 100644 --- a/public/react/src/modules/page/main/CodeRepositoryView.js +++ b/public/react/src/modules/page/main/CodeRepositoryView.js @@ -510,10 +510,7 @@ class CodeRepositoryView extends Component {
- {this.props.readRepoTimeout === true ?
- 代码加载失败, this.props.fetchRepositoryCode(this.props, null, null, true, true)}>重试 -
: +
{/* 没必要显示这个,注释掉了 */} {/* { !isEditablePath && @@ -523,14 +520,21 @@ class CodeRepositoryView extends Component {
} */} -
- {/**/} - {/* cm monaco 切换 */} - {/* */} - - } + {this.props.readRepoTimeout === true ?
+ 代码加载失败, this.props.fetchRepositoryCode(this.props, null, null, true, true)}>重试 +
: + +
+ {/**/} + {/* cm monaco 切换 */} + {/* */} + +
+ } +
{/* { tabIndex === STABLE_SSH_TAB_ID && this.state.sshData && } */}