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