@ -254,9 +254,12 @@ class CodeRepositoryViewContainer extends Component {
}
})
if (challenge.pathIndex == cur_index) {
showSnackbar(`当前编辑文件已经是${nodePath}`)
if (isCurrentFile) {
onPathChange(cur_index)
// showSnackbar(`当前编辑文件已经是${nodePath}`)
} else {
onPathChange(-1)