当前编辑文件已经是

dev_cs
hjm 5 years ago
parent d178b52ff0
commit 4255f55f5f

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

Loading…
Cancel
Save