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