|
|
@ -369,6 +369,8 @@ class MainContentContainer extends Component {
|
|
|
|
// 异常 直接重试
|
|
|
|
// 异常 直接重试
|
|
|
|
this.fetchRepositoryCode(props, null, null, true)
|
|
|
|
this.fetchRepositoryCode(props, null, null, true)
|
|
|
|
} else{
|
|
|
|
} else{
|
|
|
|
|
|
|
|
var editor_monaco = window.editor_monaco;
|
|
|
|
|
|
|
|
|
|
|
|
if (path && path.endsWith('.py')) {
|
|
|
|
if (path && path.endsWith('.py')) {
|
|
|
|
editor_monaco.getModel().updateOptions({insertSpaces: true})
|
|
|
|
editor_monaco.getModel().updateOptions({insertSpaces: true})
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|